mirror of https://github.com/Requarks/wiki.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
384 B
19 lines
384 B
version: '3'
|
|
services:
|
|
wikidb:
|
|
image: mongo
|
|
expose:
|
|
- '27017'
|
|
command: '--smallfiles --logpath=/dev/null'
|
|
volumes:
|
|
- ./data/mongo:/data/db
|
|
wikijs:
|
|
image: 'requarks/wiki:latest'
|
|
links:
|
|
- wikidb
|
|
ports:
|
|
- '80:3000'
|
|
environment:
|
|
- WIKI_ADMIN_EMAIL: admin@example.com
|
|
volumes:
|
|
- ./config.yml:/var/wiki/config.yml
|