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:
|
|
|
|
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
|
|
|
|
depends_on:
|
|
|
|
- author_service
|
|
|
|
- book_service
|