2017-04-29 00:17:10 +00:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
wikidb:
|
|
|
|
image: mongo
|
2017-08-12 19:11:27 +00:00
|
|
|
expose:
|
|
|
|
- '27017'
|
2017-04-29 00:17:10 +00:00
|
|
|
command: '--smallfiles --logpath=/dev/null'
|
2017-08-12 19:11:27 +00:00
|
|
|
volumes:
|
|
|
|
- ./data/mongo:/data/db
|
2017-04-29 00:17:10 +00:00
|
|
|
wikijs:
|
2017-06-25 19:01:17 +00:00
|
|
|
image: 'requarks/wiki:latest'
|
2017-04-29 00:17:10 +00:00
|
|
|
links:
|
|
|
|
- wikidb
|
|
|
|
ports:
|
2017-08-12 19:11:27 +00:00
|
|
|
- '80:3000'
|
2017-04-29 00:17:10 +00:00
|
|
|
environment:
|
2017-08-12 19:11:27 +00:00
|
|
|
- WIKI_ADMIN_EMAIL: admin@example.com
|
|
|
|
volumes:
|
|
|
|
- ./config.yml:/var/wiki/config.yml
|