59 Star 516 Fork 207

FizzGate/fizz-gateway-node

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 2.16 KB
一键复制 编辑 原始数据 按行查看 历史
dxfeng10 提交于 2023-12-12 10:02 . Update docker-compose.yml
version: "3.6"
services:
fizz-mysql:
image: "fizzgate/fizz-mysql:3.1.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"
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.1.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
volumes:
- "./docker_volumes/fizz-gateway-community/logs:/opt/fizz-gateway-community/logs"
networks:
- fizz
fizz-manager-professional:
image: "fizzgate/fizz-manager-professional:3.1.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:
- 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
volumes:
- "./docker_volumes/fizz-manager-professional/logs:/opt/fizz-manager-professional/logs"
networks:
- fizz
networks:
fizz:
driver: bridge
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/fizzgate/fizz-gateway-node.git
[email protected]:fizzgate/fizz-gateway-node.git
fizzgate
fizz-gateway-node
fizz-gateway-node
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385