MQL5-Google-Onedrive/boat-house/docker-compose.yml
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
No EOL
1.9 KiB
YAML

version: "3"
services:
client:
build: ./client/web
restart: always
ports:
- 5000:8080
networks:
- frontend
- backend
management:
build: ./management/web
restart: always
ports:
- 5001:4000
networks:
- backend
depends_on:
- statistics-service-db
statistics-service-api:
build: ./statistics-service/api
restart: always
ports:
- 6001:80
networks:
- frontend
- backend
statistics_service_worker:
build: ./statistics-service/worker
restart: always
networks:
- frontend
- backend
statistics-service-redis:
image: redis:alpine
restart: always
ports:
- 6379:6379
networks:
- frontend
statistics-service-db:
image: postgres:9.4
restart: always
volumes:
- db-data:/var/lib/postgresql/data
networks:
- backend
product-service-api:
build: ./product-service/api
restart: always
ports:
- 7001:8080
networks:
- frontend
- backend
account-service-api:
build: ./account-service/api
restart: always
ports:
- 7002:8080
networks:
- frontend
- backend
product-service-db:
image: 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: