generator-mikro
Version:
Microservices App
43 lines (37 loc) • 672 B
YAML
version: '3'
services:
gateway:
build:
context: ./gateway
dockerfile: Dockerfile
ports:
- "8000:8000"
volumes:
- ./gateway:/usr/src/app
networks:
- app-network
links:
- microservice_1
microservice_1:
build:
context: ./microservice_1
dockerfile: Dockerfile
ports:
- "3000:3000"
volumes:
- ./microservice_1:/usr/src/app
networks:
- app-network
web:
build:
context: ./web
dockerfile: Dockerfile
ports:
- "4000:4000"
volumes:
- ./web:/usr/src/app
networks:
- app-network
networks:
app-network:
driver: bridge