fix: Docker fixes

This commit is contained in:
NGPixel 2017-06-25 17:00:48 -04:00 committed by Nicolas Giard
parent 4e4614e6f9
commit f31dccab5f
2 changed files with 3 additions and 3 deletions

View File

@ -3,13 +3,13 @@ services:
wikidb:
image: mongo
ports:
- '27017'
- '27017:27017'
command: '--smallfiles --logpath=/dev/null'
wikijs:
image: 'requarks/wiki:latest'
links:
- wikidb
ports:
- '3000'
- '3000:3000'
environment:
- PORT=3000

View File

@ -103,7 +103,7 @@ sessionSecret: 1234567890abcdefghijklmnopqrstuvxyz
# Database Connection String
# ---------------------------------------------------------------------
db: mongodb://mongo:27017/wiki
db: mongodb://wikidb:27017/wiki
# ---------------------------------------------------------------------
# Git Connection Info