fix docker

This commit is contained in:
Sam 2016-06-05 01:34:43 +02:00
parent 1153ce8629
commit 6763f56f23
4 changed files with 313 additions and 2033 deletions

View file

@ -3,7 +3,7 @@
module.exports = {
baseUrl: process.env.BASE_URL || 'http://localhost:3000',
db: {
uri: 'mongodb://localhost/mean',
uri: 'mongodb://'+(process.env.DB_HOST || 'localhost')+'/mean',
options: {
user: '',
pass: ''

View file

@ -17,6 +17,8 @@ services:
- "35729:35729"
links:
- db
environment:
DB_HOST: db
volumes:
mongo-data-wt:
driver: local

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long