wikijs-fork/tools/docker-compose.yml

20 lines
384 B
YAML
Raw Normal View History

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