MQL5-Google-Onedrive/boat-house/docker-compose-template.yaml
copilot-swe-agent[bot] aaf34679c7 Add boat-house microservices system to project
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-10 06:28:01 +00:00

92 lines
2.4 KiB
YAML

version: "3"
services:
client:
image: docker.pkg.github.com/#{BOATHOUSE_ORG_NAME}#/boat-house/client:latest
restart: always
ports:
- 5000:8080
networks:
- frontend
- backend
management:
image: docker.pkg.github.com/#{BOATHOUSE_ORG_NAME}#/boat-house/management:latest
restart: always
ports:
- 5001:4000
networks:
- backend
depends_on:
- statistics-service-db
statistics-service-api:
image: docker.pkg.github.com/#{BOATHOUSE_ORG_NAME}#/boat-house/statistics_service_api:latest
restart: always
ports:
- 6001:80
networks:
- frontend
- backend
statistics-service-worker:
image: docker.pkg.github.com/#{BOATHOUSE_ORG_NAME}#/boat-house/statistics_service_worker:latest
restart: always
networks:
- frontend
- backend
statistics-service-redis:
image: docker.pkg.github.com/idcf-boat-house/boat-house/redis:alpine
restart: always
ports:
- 6379:6379
networks:
- frontend
statistics-service-db:
image: docker.pkg.github.com/idcf-boat-house/boat-house/postgres:9.4
restart: always
volumes:
- db-data:/var/lib/postgresql/data
networks:
- backend
product-service-api:
image: docker.pkg.github.com/#{BOATHOUSE_ORG_NAME}#/boat-house/product_service_api:latest
restart: always
ports:
- 7001:8080
networks:
- frontend
- backend
account-service-api:
image: docker.pkg.github.com/#{BOATHOUSE_ORG_NAME}#/boat-house/account_service_api:latest
restart: always
ports:
- 7002:8080
networks:
- frontend
- backend
product-service-db:
image: docker.pkg.github.com/idcf-boat-house/boat-house/mysql:5.6
command: --default-authentication-plugin=mysql_native_password
restart: always
volumes:
- ./product-service/api/scripts/init.sql:/docker-entrypoint-initdb.d/init.sql
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: P2ssw0rd
networks:
- frontend
- backend
networks:
frontend:
backend:
volumes:
db-data: