homework
This commit is contained in:
parent
245c8f3aa1
commit
415842ab33
@ -2,10 +2,7 @@ version: "3"
|
||||
|
||||
services:
|
||||
vote:
|
||||
build: ./vote
|
||||
command: python app.py
|
||||
volumes:
|
||||
- ./vote:/app
|
||||
image: tormachris/cloudnet-vote
|
||||
ports:
|
||||
- "5000:80"
|
||||
networks:
|
||||
@ -13,10 +10,7 @@ services:
|
||||
- back-tier
|
||||
|
||||
result:
|
||||
build: ./result
|
||||
command: nodemon server.js
|
||||
volumes:
|
||||
- ./result:/app
|
||||
image: tormachris/cloudnet-result
|
||||
ports:
|
||||
- "5001:80"
|
||||
- "5858:5858"
|
||||
@ -25,8 +19,7 @@ services:
|
||||
- back-tier
|
||||
|
||||
worker:
|
||||
build:
|
||||
context: ./worker
|
||||
image: tormachris/cloudnet-worker
|
||||
depends_on:
|
||||
- "redis"
|
||||
- "db"
|
||||
|
Loading…
Reference in New Issue
Block a user