Browse Source

fix: Docker fixes

pull/166/head
NGPixel 7 years ago
committed by Nicolas Giard
parent
commit
f31dccab5f
2 changed files with 3 additions and 3 deletions
  1. 4
      docker-compose.yml
  2. 2
      npm/configs/config.docker.yml

4
docker-compose.yml

@ -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

2
npm/configs/config.docker.yml

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

Loading…
Cancel
Save