distributed-computing/tasks/mutriskov-ds/lab_3/docker-compose.yml

15 lines
299 B
YAML
Raw Permalink Normal View History

2024-01-07 21:16:34 +04:00
version: "3.1"
services:
worker-2:
build: ./worker-2
worker-1:
build: ./worker-1
depends_on:
- worker-2
gateway:
image: nginx:latest
ports:
- 8080:8080
volumes:
- ./static:/usr/share/nginx/html:ro
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro