Commit f31dccab authored by NGPixel's avatar NGPixel Committed by Nicolas Giard

fix: Docker fixes

parent 4e4614e6
...@@ -3,13 +3,13 @@ services: ...@@ -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
...@@ -103,7 +103,7 @@ sessionSecret: 1234567890abcdefghijklmnopqrstuvxyz ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment