This commit is contained in:
Torma Kristóf 2020-04-24 13:39:21 +02:00
parent 245c8f3aa1
commit 415842ab33
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -2,10 +2,7 @@ version: "3"
services: services:
vote: vote:
build: ./vote image: tormachris/cloudnet-vote
command: python app.py
volumes:
- ./vote:/app
ports: ports:
- "5000:80" - "5000:80"
networks: networks:
@ -13,10 +10,7 @@ services:
- back-tier - back-tier
result: result:
build: ./result image: tormachris/cloudnet-result
command: nodemon server.js
volumes:
- ./result:/app
ports: ports:
- "5001:80" - "5001:80"
- "5858:5858" - "5858:5858"
@ -25,8 +19,7 @@ services:
- back-tier - back-tier
worker: worker:
build: image: tormachris/cloudnet-worker
context: ./worker
depends_on: depends_on:
- "redis" - "redis"
- "db" - "db"