2022-04-12 17:58:15 +08:00
|
|
|
version: "3.6"
|
|
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
fizz-mysql:
|
2025-10-28 17:43:49 +08:00
|
|
|
image: "docker.1ms.run/fizzgate/fizz-mysql:3.6.0"
|
2022-04-12 17:58:15 +08:00
|
|
|
container_name: fizz-mysql
|
|
|
|
|
restart: always
|
|
|
|
|
hostname: fizz-mysql
|
|
|
|
|
ports:
|
|
|
|
|
- "3306:3306"
|
|
|
|
|
environment:
|
|
|
|
|
- MYSQL_ROOT_PASSWORD=root123456
|
|
|
|
|
- MYSQL_DATABASE=fizz_manager
|
|
|
|
|
volumes:
|
2025-05-19 16:03:46 +08:00
|
|
|
- "./docker_volumes/etc/mysql/conf.d:/etc/mysql/conf.d"
|
2022-04-12 17:58:15 +08:00
|
|
|
- "./docker_volumes/mysql:/var/lib/mysql"
|
2025-05-19 16:03:46 +08:00
|
|
|
entrypoint: [ 'docker-entrypoint.sh','--sql-mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' ]
|
2022-04-12 17:58:15 +08:00
|
|
|
networks:
|
|
|
|
|
- fizz
|
|
|
|
|
|
|
|
|
|
fizz-redis:
|
2025-10-28 17:43:49 +08:00
|
|
|
image: "docker.1ms.run/library/redis:6.0.8"
|
2022-04-12 17:58:15 +08:00
|
|
|
container_name: fizz-redis
|
|
|
|
|
restart: always
|
|
|
|
|
hostname: fizz-redis
|
|
|
|
|
ports:
|
|
|
|
|
- "6379:6379"
|
2025-05-19 16:03:46 +08:00
|
|
|
command: redis-server --appendonly no --save ""
|
|
|
|
|
volumes:
|
|
|
|
|
- "./docker_volumes/redis/data:/data"
|
2022-04-12 17:58:15 +08:00
|
|
|
networks:
|
|
|
|
|
- fizz
|
|
|
|
|
|
|
|
|
|
fizz-gateway-community:
|
2025-10-28 17:43:49 +08:00
|
|
|
image: "docker.1ms.run/fizzgate/fizz-gateway-community:3.6.0"
|
2022-04-12 17:58:15 +08:00
|
|
|
container_name: fizz-gateway-community
|
|
|
|
|
restart: always
|
|
|
|
|
hostname: fizz-gateway-community
|
|
|
|
|
links:
|
|
|
|
|
- fizz-redis
|
|
|
|
|
depends_on:
|
|
|
|
|
- fizz-manager-professional
|
|
|
|
|
ports:
|
2025-10-28 17:43:49 +08:00
|
|
|
- "8803:8600"
|
2022-04-12 17:58:15 +08:00
|
|
|
environment:
|
|
|
|
|
- aggregate.redis.host=fizz-redis
|
|
|
|
|
- aggregate.redis.port=6379
|
|
|
|
|
- aggregate.redis.password=
|
|
|
|
|
- aggregate.redis.database=9
|
2025-05-19 16:03:46 +08:00
|
|
|
- fizz.aggregate.writeMapNullValue=true
|
|
|
|
|
- refresh-local-cache.initial-delay-millis=0
|
|
|
|
|
- dlp.refreshCache.initial-delay-millis=0
|
2022-04-12 17:58:15 +08:00
|
|
|
volumes:
|
|
|
|
|
- "./docker_volumes/fizz-gateway-community/logs:/opt/fizz-gateway-community/logs"
|
2025-05-19 16:03:46 +08:00
|
|
|
- "./docker_volumes/fizz-gateway-community/biz:/opt/fizz-gateway-community/biz"
|
2022-04-12 17:58:15 +08:00
|
|
|
networks:
|
|
|
|
|
- fizz
|
|
|
|
|
|
|
|
|
|
fizz-manager-professional:
|
2025-10-28 17:43:49 +08:00
|
|
|
image: "docker.1ms.run/fizzgate/fizz-manager-professional:3.6.0"
|
2022-04-12 17:58:15 +08:00
|
|
|
container_name: fizz-manager-professional
|
|
|
|
|
restart: always
|
|
|
|
|
hostname: fizz-manager-professional
|
|
|
|
|
links:
|
|
|
|
|
- fizz-redis
|
|
|
|
|
- fizz-mysql
|
|
|
|
|
depends_on:
|
|
|
|
|
- fizz-mysql
|
|
|
|
|
- fizz-redis
|
|
|
|
|
ports:
|
2025-10-28 17:43:49 +08:00
|
|
|
- "8804:8000"
|
2022-04-12 17:58:15 +08:00
|
|
|
environment:
|
2025-10-28 17:43:49 +08:00
|
|
|
- spring.datasource.dynamic.enabled=false
|
2022-04-12 17:58:15 +08:00
|
|
|
- spring.redis.host=fizz-redis
|
|
|
|
|
- spring.redis.port=6379
|
|
|
|
|
- spring.redis.password=
|
|
|
|
|
- spring.redis.database=9
|
|
|
|
|
- "spring.datasource.url=jdbc:mysql://fizz-mysql:3306/fizz_manager?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true"
|
|
|
|
|
- spring.datasource.username=root
|
|
|
|
|
- spring.datasource.password=root123456
|
2025-05-19 16:03:46 +08:00
|
|
|
- "spring.datasource.druid.connectionSqlInit=set session sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'"
|
2022-04-12 17:58:15 +08:00
|
|
|
volumes:
|
|
|
|
|
- "./docker_volumes/fizz-manager-professional/logs:/opt/fizz-manager-professional/logs"
|
2025-05-19 16:03:46 +08:00
|
|
|
- "./docker_volumes/fizz-manager-professional/biz:/opt/fizz-manager-professional/biz"
|
|
|
|
|
- "./docker_volumes/fizz-manager-professional/cache:/opt/fizz-manager-professional/cache"
|
|
|
|
|
- "./docker_volumes/fizz-manager-professional/runtime:/opt/fizz-manager-professional/runtime"
|
2022-04-12 17:58:15 +08:00
|
|
|
networks:
|
|
|
|
|
- fizz
|
|
|
|
|
|
|
|
|
|
networks:
|
|
|
|
|
fizz:
|
2022-07-18 15:32:29 +08:00
|
|
|
driver: bridge
|