加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 1.60 KB
一键复制 编辑 原始数据 按行查看 历史
Linxfeng 提交于 2022-07-20 16:13 . 更新docker-compose.yml文件
version: "3.9"
services:
mysql:
image: mysql
container_name: mysql
environment:
MYSQL_ROOT_PASSWORD: 123456
ports:
- "3306:3306"
volumes:
- /root/app/mysql/data/:/var/lib/mysql
- /root/app/mysql/conf.d:/etc/mysql/conf.d
- /root/app/mysql/my.cnf:/etc/mysql/my.cnf
rabbitmq:
image: rabbitmq
container_name: rabbitmq
ports:
- "5672:5672"
- "15672:15672"
volumes:
- /root/app/rabbitmq/data:/var/lib/rabbitmq
nacos:
image: nacos/nacos-server
container_name: nacos
depends_on:
- mysql
ports:
- "8848:8848"
- "9848:9848"
- "9849:9849"
environment:
MODE: standalone
SPRING_DATASOURCE_PLATFORM: mysql
MYSQL_SERVICE_HOST: mysql
MYSQL_SERVICE_USER: root
MYSQL_SERVICE_PASSWORD: 123456
MYSQL_SERVICE_DB_NAME: nacos_config
JVM_XMS: 256m
JVM_XMX: 256m
JVM_XMN: 256m
nginx:
image: nginx
container_name: nginx
network_mode: host
volumes:
- /root/app/nginx/www:/www
- /root/app/nginx/conf/nginx.conf:/etc/nginx/nginx.conf
- /root/app/nginx/conf/conf.d/default.conf:/etc/nginx/conf.d/default.conf
- /root/app/nginx/logs:/wwwlogs
oauth2:
image: flow-eda-oauth2
container_name: oauth2
network_mode: host
logger:
image: flow-eda-logger
container_name: logger
network_mode: host
volumes:
- /root/app/springboot/logger/logs:/logs
runner:
image: flow-eda-runner
container_name: runner
network_mode: host
web:
image: flow-eda-web
container_name: web
network_mode: host
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化