distributed-computing/tasks/plaksina-av/lab_3/docker-compose.yml

16 lines
300 B
YAML
Raw Permalink Normal View History

2023-12-15 22:14:31 +04:00
version: "3.1"
services:
worker-1:
build: ./worker-1
worker-2:
build: ./worker-2
depends_on:
- worker-1
gateway:
image: nginx:latest
ports:
- 8085:8085
volumes:
- ./static:/usr/share/nginx/html:ro
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro