DAS_2024_1/vaksman_valeria_lab_3/docker-compose.yaml
2024-10-11 19:19:17 +04:00

27 lines
498 B
YAML

services:
document_server:
container_name: document_server
build:
context: .
dockerfile: ./document_server/Dockerfile
expose:
- 8008
product_server:
container_name: product_server
build:
context: .
dockerfile: ./product_server/Dockerfile
expose:
- 8009
nginx:
image: nginx:latest
ports:
- "80:80"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
depends_on:
- document_server
- product_server