DAS_2024_1/presnyakova_victoria_lab_3/docker-compose.yml

28 lines
468 B
YAML
Raw Normal View History

2024-10-10 22:53:30 +04:00
version: '3.8'
services:
event_service:
build:
context: /event_service
dockerfile: Dockerfile
depends_on:
- session_service
expose:
- 8081
session_service:
build:
context: /session_service
dockerfile: Dockerfile
expose:
- 8082
nginx:
image: nginx
ports:
- 8086:8086
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
depends_on:
- event_service
- session_service