DAS_2024_1/mochalov_danila_lab_3/docker-compose.yaml

26 lines
505 B
YAML
Raw Permalink Normal View History

2024-10-26 18:18:28 +04:00
services:
category_service:
container_name: categoryService
build:
context: .
dockerfile: ./category_service/Dockerfile
expose:
- 20001
service_service:
container_name: serviceService
build:
context: .
dockerfile: ./service_service/Dockerfile
expose:
- 20002
nginx:
image: nginx:latest
ports:
- "80:80"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
depends_on:
- category_service
- service_service