DAS_2024_1/tsukanova_irina_lab_3/docker-compose.yaml

27 lines
488 B
YAML
Raw Permalink Normal View History

2024-09-27 16:53:32 +04:00
services:
author_service:
container_name: author_service
build:
context: .
dockerfile: ./author_service/Dockerfile
2024-10-02 23:00:20 +04:00
expose:
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:
2024-10-03 16:17:37 +04:00
- ./nginx.conf:/etc/nginx/nginx.conf
2024-10-02 14:16:54 +04:00
depends_on:
- author_service
- book_service