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

2
npm/configs/config.docker.yml

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

Loading…
Cancel
Save