1 Star 0 Fork 207

niqingzhu/fizz-gateway-node

forked from FizzGate/fizz-gateway-node 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 2.87 KB
一键复制 编辑 原始数据 按行查看 历史
zhongjie150 提交于 2024-04-02 09:31 . update docker-compose.yml.
version: "3.6"
services:
fizz-mysql:
image: "fizzgate/fizz-mysql:3.2.0"
container_name: fizz-mysql
restart: always
hostname: fizz-mysql
ports:
- "3306:3306"
environment:
- MYSQL_ROOT_PASSWORD=root123456
- MYSQL_DATABASE=fizz_manager
volumes:
- "./docker_volumes/mysql:/var/lib/mysql"
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']
networks:
- fizz
fizz-redis:
image: "redis:6.0.8"
container_name: fizz-redis
restart: always
hostname: fizz-redis
ports:
- "6379:6379"
networks:
- fizz
fizz-gateway-community:
image: "fizzgate/fizz-gateway-community:3.2.0"
container_name: fizz-gateway-community
restart: always
hostname: fizz-gateway-community
links:
- fizz-redis
depends_on:
- fizz-manager-professional
ports:
- "8600:8600"
environment:
- aggregate.redis.host=fizz-redis
- aggregate.redis.port=6379
- aggregate.redis.password=
- aggregate.redis.database=9
- fizz.aggregate.writeMapNullValue=true
- refresh-local-cache.initial-delay-millis=150000
volumes:
- "./docker_volumes/fizz-gateway-community/logs:/opt/fizz-gateway-community/logs"
- "./docker_volumes/fizz-gateway-community/biz:/opt/fizz-gateway-community/biz"
networks:
- fizz
fizz-manager-professional:
image: "fizzgate/fizz-manager-professional:3.2.0"
container_name: fizz-manager-professional
restart: always
hostname: fizz-manager-professional
links:
- fizz-redis
- fizz-mysql
depends_on:
- fizz-mysql
- fizz-redis
ports:
- "8000:8000"
environment:
- params.fizz-manager-url=http://fizz-manager-professional:8000
- 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
- "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'"
volumes:
- "./docker_volumes/fizz-manager-professional/logs:/opt/fizz-manager-professional/logs"
- "./docker_volumes/fizz-manager-professional/biz:/opt/fizz-manager-professional/biz"
networks:
- fizz
networks:
fizz:
driver: bridge
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/j2soft/fizz-gateway-node.git
[email protected]:j2soft/fizz-gateway-node.git
j2soft
fizz-gateway-node
fizz-gateway-node
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385