DAS_2024_1/pupkov_alexey_lab_3/docker-compose.yaml

26 lines
422 B
YAML

version: '3.8'
networks:
default:
name: my_network
services:
subscription-service:
build: ./services/subscription
ports:
- "5000:5000"
book-service:
build: ./services/book
ports:
- "5001:5001"
gateway:
image: nginx:latest
volumes:
- ./gateway/nginx.conf:/etc/nginx/nginx.conf
ports:
- "80:80"
depends_on:
- subscription-service
- book-service