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: wikidb:
image: mongo image: mongo
ports: ports:
- '27017' - '27017:27017'
command: '--smallfiles --logpath=/dev/null' command: '--smallfiles --logpath=/dev/null'
wikijs: wikijs:
image: 'requarks/wiki:latest' image: 'requarks/wiki:latest'
links: links:
- wikidb - wikidb
ports: ports:
- '3000' - '3000:3000'
environment: environment:
- PORT=3000 - PORT=3000

View File

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