From 415842ab331bc7bc19952c2dc6f6aac375d4185b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Fri, 24 Apr 2020 13:39:21 +0200 Subject: [PATCH] homework --- docker-compose.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 00955d8..3329280 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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"