Skip to content

Commit

Permalink
put container names back into docker-databox-sdk.yaml so binding works
Browse files Browse the repository at this point in the history
  • Loading branch information
tlodge committed Sep 12, 2017
1 parent cacf89c commit 3123704
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docker-databox-sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ redis:
tlodge/databox-redis
ports:
- "6379"
container_name:
redis

mongo:
image:
Expand All @@ -11,12 +13,16 @@ mongo:
- "27017"
command:
/usr/bin/mongod --dbpath /data/mongo --smallfiles
container_name:
mongo

mock-datasource:
image:
tlodge/databox-datasource-mock
command:
/root/start.sh
container_name:
mock-datasource

databox-sdk:
image:
Expand All @@ -29,6 +35,8 @@ databox-sdk:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ${HOSTMOUNT}/sdk:/usr/src/app/conf
container_name:
databox-sdk
command:
node index.js

Expand All @@ -41,5 +49,7 @@ databox-test-server:
ports:
- "9090:9090"
- "8435"
container_name:
databox-test-server
command:
node index.js

0 comments on commit 3123704

Please sign in to comment.