代码拉取完成,页面将自动刷新
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。