DAS_2024_1/tsukanova_irina_lab_3/docker-compose.yaml

27 lines
493 B
YAML
Raw Normal View History

2024-09-27 16:53:32 +04:00
services:
author_service:
container_name: author_service
build:
context: .
dockerfile: ./author_service/Dockerfile
ports:
2024-10-02 14:16:54 +04:00
- 20001
2024-09-27 16:53:32 +04:00
2024-10-02 14:16:54 +04:00
book_service:
container_name: book_service
build:
context: .
dockerfile: ./book_service/Dockerfile
expose:
- 20002
2024-10-01 23:05:44 +04:00
2024-10-02 14:16:54 +04:00
nginx:
image: nginx:latest
ports:
- "80:80"
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
depends_on:
- author_service
- book_service