homework
This commit is contained in:
		@@ -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"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user