Last active
April 26, 2020 11:52
-
-
Save mopeneko/30d80e9d45bae7b818bea9361fcd5e6e to your computer and use it in GitHub Desktop.
Wiki.js builder for Docker Compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.8" | |
services: | |
app: | |
image: requarks/wiki:2 | |
restart: always | |
depends_on: | |
- db | |
environment: | |
DB_TYPE: postgres | |
DB_HOST: db | |
DB_PORT: 5432 | |
DB_USER: wikijs | |
DB_PASS: wikijs | |
DB_NAME: wikijs | |
ports: | |
- "3000:3000" | |
db: | |
image: postgres:latest | |
restart: always | |
environment: | |
POSTGRES_USER: wikijs | |
POSTGRES_PASSWORD: wikijs | |
POSTGRES_DB: wikijs | |
volumes: | |
- db-data:/var/lib/postgresql/data | |
volumes: | |
db-data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment