Skip to content

Commit

Permalink
#2935: reimplement hyphens instead of underscores
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff1evesque committed Apr 29, 2018
1 parent 3b045a2 commit f24fc3c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
20 changes: 10 additions & 10 deletions docker-compose.development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,27 +25,27 @@ services:
image: jeff1evesque/ml-sass:0.7
network_mode: bridge

webserver_api:
hostname: webserver_api
webserver-api:
hostname: webserver-api
image: jeff1evesque/ml-webserver:0.7
command: ['api', '0.0.0.0', '6001', '6']
network_mode: bridge
command: ['api', '0.0.0.0', '6001', '6']

webserver_web:
hostname: webserver_web
webserver-web:
hostname: webserver-web
image: jeff1evesque/ml-webserver:0.7
command: ['web', '0.0.0.0', '5001', '6']
network_mode: bridge
command: ['web', '0.0.0.0', '5001', '6']

nginx_api:
hostname: nginx_api
nginx-api:
hostname: nginx-api
image: jeff1evesque/ml-nginx-api:0.7
network_mode: bridge
ports:
- 9090:6000/tcp

nginx_web:
hostname: nginx_web
nginx-web:
hostname: nginx-web
image: jeff1evesque/ml-nginx-web:0.7
network_mode: bridge
ports:
Expand Down
8 changes: 4 additions & 4 deletions rancher-template.development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
- PREPATH/src/jsx:/var/machine-learning/src/jsx
- PREPATH/interface/static/js:/var/machine-learning/interface/static/js

webserver_api:
webserver-api:
scale: 1
start_on_create: true
volumes:
Expand All @@ -46,7 +46,7 @@ services:
- PREPATH/factory.py:/var/machine-learning/factory.py
- PREPATH/__init__.py:/var/machine-learning/__init__.py

webserver_web:
webserver-web:
scale: 1
start_on_create: true
volumes:
Expand All @@ -62,11 +62,11 @@ services:
- PREPATH/app.py:/var/machine-learning/app.py
- PREPATH/factory.py:/var/machine-learning/factory.py

nginx_api:
nginx-api:
scale: 1
start_on_create: true

nginx_web:
nginx-web:
scale: 1
start_on_create: true

Expand Down

0 comments on commit f24fc3c

Please sign in to comment.