Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 1 addition & 31 deletions install/portainer.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,39 +13,9 @@ This guide details the step-by-step procedure to install Wiki.js on a machine ru
1. Enter a name for the stack (e.g. `wiki`).
1. Select **Web editor** as the Build method.
1. In the Web editor below, paste the following block of code:
```yaml
version: '2'
services:
db:
image: postgres:11-alpine
environment:
POSTGRES_DB: wiki
POSTGRES_PASSWORD: wikijsrocks
POSTGRES_USER: wikijs
logging:
driver: "none"
restart: unless-stopped
volumes:
- db-data:/var/lib/postgresql/data

wiki:
image: requarks/wiki:2
depends_on:
- db
environment:
DB_TYPE: postgres
DB_HOST: db
DB_PORT: 5432
DB_USER: wikijs
DB_PASS: wikijsrocks
DB_NAME: wiki
restart: unless-stopped
ports:
- "80:3000"
--> use the code for the YAML-file from here: https://github.com/requarks/wiki-docs/blob/master/install/docker.md#using-docker-compose

volumes:
db-data:
```
1. Click on **Deploy the stack** button.
1. There's no step 7, it was that easy.

Expand Down