DAS_2023_1/podkorytova_yulia_lab_3/docker-compose.yml
2024-01-10 00:13:23 +04:00

36 lines
556 B
YAML

version: '3'
services:
user-service:
build:
context: /user-service
dockerfile: Dockerfile
ports:
- 8085:8085
networks:
- network
message-service:
build:
context: /message-service
dockerfile: Dockerfile
ports:
- 8086:8086
networks:
- network
nginx:
image: nginx
ports:
- 8087:80
networks:
- network
volumes:
- ./nginx-conf:/etc/nginx/conf.d
depends_on:
- user-service
- message-service
networks:
network:
driver: bridge