Files
cid/docker-compose.yml
2025-11-11 19:51:56 +08:00

300 lines
7.9 KiB
YAML

version: '3'
services:
honeycom-register:
build:
context: ./honeycom-register
restart: always
container_name: honeycom-register
image: honeycom-register
volumes:
- ./logs/honeycom-register:/honeycom-register/logs/honeycom-register/
env_file:
- .env
extra_hosts:
- "honeycom-mysql:${MYSQL_HOST}"
- "honeycom-redis:${REDIS_HOST}"
- "honeycom-gateway:${GATEWAY_HOST}"
- "honeycom-register:${REGISTER_HOST}"
ports:
- "8848:8848"
- "9848:9848"
- "9849:9849"
- "9555:9555"
networks:
- spring_cloud_default
honeycom-gateway:
build:
context: ./honeycom-gateway
restart: always
container_name: honeycom-gateway
image: honeycom-gateway
volumes:
- ./logs/honeycom-gateway:/honeycom-gateway/logs/honeycom-gateway/
env_file:
- .env
extra_hosts:
- "honeycom-mysql:${MYSQL_HOST}"
- "honeycom-redis:${REDIS_HOST}"
- "honeycom-gateway:${GATEWAY_HOST}"
- "honeycom-register:${REGISTER_HOST}"
ports:
- 9999:9999
networks:
- spring_cloud_default
honeycom-auth:
build:
context: ./honeycom-auth
restart: always
container_name: honeycom-auth
image: honeycom-auth
volumes:
- ./logs/honeycom-auth:/honeycom-auth/logs/honeycom-auth/
env_file:
- .env
extra_hosts:
- "honeycom-mysql:${MYSQL_HOST}"
- "honeycom-redis:${REDIS_HOST}"
- "honeycom-gateway:${GATEWAY_HOST}"
- "honeycom-register:${REGISTER_HOST}"
networks:
- spring_cloud_default
honeycom-upms:
build:
context: ./honeycom-upms/honeycom-upms-biz
restart: always
container_name: honeycom-upms
image: honeycom-upms
volumes:
- ./logs/honeycom-upms:/honeycom-upms/logs/honeycom-upms-biz/
env_file:
- .env
extra_hosts:
- "honeycom-mysql:${MYSQL_HOST}"
- "honeycom-redis:${REDIS_HOST}"
- "honeycom-gateway:${GATEWAY_HOST}"
- "honeycom-register:${REGISTER_HOST}"
networks:
- spring_cloud_default
honeycom-pm:
build:
context: ./honeycom-pm/honeycom-pm-biz
restart: always
container_name: honeycom-pm
image: honeycom-pm
volumes:
- ./logs/honeycom-pm:/honeycom-pm/logs/honeycom-pm-biz/
env_file:
- .env
extra_hosts:
- "honeycom-mysql:${MYSQL_HOST}"
- "honeycom-redis:${REDIS_HOST}"
- "honeycom-gateway:${GATEWAY_HOST}"
- "honeycom-register:${REGISTER_HOST}"
networks:
- spring_cloud_default
honeycom-user:
build:
context: ./honeycom-user/honeycom-user-biz
restart: always
container_name: honeycom-user
image: honeycom-user
volumes:
- ./logs/honeycom-user:/honeycom-user/logs/honeycom-user-biz/
env_file:
- .env
extra_hosts:
- "honeycom-mysql:${MYSQL_HOST}"
- "honeycom-redis:${REDIS_HOST}"
- "honeycom-gateway:${GATEWAY_HOST}"
- "honeycom-register:${REGISTER_HOST}"
networks:
- spring_cloud_default
honeycom-tenant:
build:
context: ./honeycom-tenant/honeycom-tenant-biz
restart: always
container_name: honeycom-tenant
image: honeycom-tenant
volumes:
- ./logs/honeycom-tenant:/honeycom-tenant/logs/honeycom-tenant-biz/
env_file:
- .env
extra_hosts:
- "honeycom-mysql:${MYSQL_HOST}"
- "honeycom-redis:${REDIS_HOST}"
- "honeycom-gateway:${GATEWAY_HOST}"
- "honeycom-register:${REGISTER_HOST}"
networks:
- spring_cloud_default
honeycom-packages:
build:
context: ./honeycom-packages/honeycom-packages-biz
restart: always
container_name: honeycom-packages
image: honeycom-packages
volumes:
- ./logs/honeycom-packages:/honeycom-packages/logs/honeycom-packages-biz/
env_file:
- .env
extra_hosts:
- "honeycom-mysql:${MYSQL_HOST}"
- "honeycom-redis:${REDIS_HOST}"
- "honeycom-gateway:${GATEWAY_HOST}"
- "honeycom-register:${REGISTER_HOST}"
networks:
- spring_cloud_default
honeycom-flow-task:
build:
context: ./honeycom-flow/honeycom-flow-task/honeycom-flow-task-biz
restart: always
container_name: honeycom-flow-task
image: honeycom-flow-task
volumes:
- ./logs/honeycom-flow-task:/honeycom-flow-task/logs/honeycom-flow-task-biz/
env_file:
- .env
extra_hosts:
- "honeycom-mysql:${MYSQL_HOST}"
- "honeycom-redis:${REDIS_HOST}"
- "honeycom-gateway:${GATEWAY_HOST}"
- "honeycom-register:${REGISTER_HOST}"
networks:
- spring_cloud_default
honeycom-flow-engine:
build:
context: ./honeycom-flow/honeycom-flow-engine/honeycom-flow-engine-biz
restart: always
container_name: honeycom-flow-engine
image: honeycom-flow-engine
volumes:
- ./logs/honeycom-flow-engine:/honeycom-flow-engine/logs/honeycom-flow-engine-biz/
env_file:
- .env
extra_hosts:
- "honeycom-mysql:${MYSQL_HOST}"
- "honeycom-redis:${REDIS_HOST}"
- "honeycom-gateway:${GATEWAY_HOST}"
- "honeycom-register:${REGISTER_HOST}"
networks:
- spring_cloud_default
honeycom-form:
build:
context: ./honeycom-form/honeycom-form-biz
restart: always
container_name: honeycom-form
image: honeycom-form
volumes:
- ./logs/honeycom-form:/honeycom-form/logs/honeycom-form-biz/
env_file:
- .env
extra_hosts:
- "honeycom-mysql:${MYSQL_HOST}"
- "honeycom-redis:${REDIS_HOST}"
- "honeycom-gateway:${GATEWAY_HOST}"
- "honeycom-register:${REGISTER_HOST}"
networks:
- spring_cloud_default
honeycom-log:
build:
context: ./honeycom-log/honeycom-log-biz
restart: always
container_name: honeycom-log
image: honeycom-log
volumes:
- ./logs/honeycom-log:/honeycom-log/logs/honeycom-log-biz/
env_file:
- .env
extra_hosts:
- "honeycom-mysql:${MYSQL_HOST}"
- "honeycom-redis:${REDIS_HOST}"
- "honeycom-gateway:${GATEWAY_HOST}"
- "honeycom-register:${REGISTER_HOST}"
networks:
- spring_cloud_default
honeycom-msg:
build:
context: ./honeycom-msg/honeycom-msg-biz
restart: always
container_name: honeycom-msg
image: honeycom-msg
volumes:
- ./logs/honeycom-msg:/honeycom-msg/logs/honeycom-msg-biz/
env_file:
- .env
extra_hosts:
- "honeycom-mysql:${MYSQL_HOST}"
- "honeycom-redis:${REDIS_HOST}"
- "honeycom-gateway:${GATEWAY_HOST}"
- "honeycom-register:${REGISTER_HOST}"
networks:
- spring_cloud_default
honeycom-mold:
build:
context: ./honeycom-mold/honeycom-mold-biz
restart: always
container_name: honeycom-mold
image: honeycom-mold
volumes:
- ./logs/honeycom-mold:/honeycom-mold/logs/honeycom-mold-biz/
env_file:
- .env
extra_hosts:
- "honeycom-mysql:${MYSQL_HOST}"
- "honeycom-redis:${REDIS_HOST}"
- "honeycom-gateway:${GATEWAY_HOST}"
- "honeycom-register:${REGISTER_HOST}"
networks:
- spring_cloud_default
honeycom-step:
build:
context: ./honeycom-step
restart: always
container_name: honeycom-step
image: honeycom-step
volumes:
- ./logs/honeycom-step:/honeycom-step/logs/honeycom-step/
env_file:
- .env
extra_hosts:
- "honeycom-mysql:${MYSQL_HOST}"
- "honeycom-redis:${REDIS_HOST}"
- "honeycom-gateway:${GATEWAY_HOST}"
- "honeycom-register:${REGISTER_HOST}"
networks:
- spring_cloud_default
honeycom-third:
build:
context: ./honeycom-third/honeycom-third-biz
restart: always
container_name: honeycom-third
image: honeycom-third
volumes:
- ./logs/honeycom-third:/honeycom-third/logs/honeycom-third-biz/
env_file:
- .env
extra_hosts:
- "honeycom-gateway:${GATEWAY_HOST}"
- "honeycom-register:${REGISTER_HOST}"
networks:
- spring_cloud_default
networks:
spring_cloud_default:
name: spring_cloud_default
driver: bridge