加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
docker-compose-base.yml 2.17 KB
一键复制 编辑 原始数据 按行查看 历史
glg 提交于 2023-01-18 09:35 . 修改镜像源
version: '3'
services:
#后台服务
jvs-ui:
restart: always
image: ${dockerName}/jvs-ui:${JVSVERSION}
container_name: jvs-ui
ports:
- 8088:80
#网关
jvs-gateway:
restart: always
image: ${dockerName}/jvs-gateway:${JVSVERSION}
container_name: gateway
environment:
nacosAddr: ${nacosAddr}
namespace: ${namespace}
skyip: ${skyip}
JAVA_OPTS: ${JAVA_OPTS}
volumes:
- ./data/nacos/:/root/nacos/config
- ./data/log/:/log
- ./data/icon/:/icon
ports:
- 10000:10000
#授权管理
jvs-auth-mgr:
restart: always
image: ${dockerName}/jvs-auth-mgr:${JVSVERSION}
container_name: jvs-auth-mgr
environment:
nacosAddr: ${nacosAddr}
namespace: ${namespace}
skyip: ${skyip}
JAVA_OPTS: ${JAVA_OPTS} -Dserver.port=3001
volumes:
- ./data/nacos/:/root/nacos/config
- ./data/log/:/log
ports:
- 3001:3001
#授权中心
jvs-auth:
restart: always
image: ${dockerName}/jvs-auth:${JVSVERSION}
container_name: jvs-auth
environment:
nacosAddr: ${nacosAddr}
namespace: ${namespace}
skyip: ${skyip}
JAVA_OPTS: ${JAVA_OPTS}
volumes:
- ./data/nacos/:/root/nacos/config
- ./data/log/:/log
ports:
- 3000:3000
#定时任务服务
jvs-xxl-job-admin:
restart: always
image: ${dockerName}/jvs-xxl-job-admin:latest
container_name: jvs-xxl-job-admin
environment:
nacosAddr: ${nacosAddr}
namespace: ${namespace}
skyip: ${skyip}
JAVA_OPTS: ${JAVA_OPTS}
volumes:
- ./data/nacos/:/root/nacos/config
- ./data/log/:/log
ports:
- 9090:9090
#消息管理
jvs-message-mgr:
restart: always
image: ${dockerName}/jvs-message-push:${JVSVERSION}
container_name: jvs-message-push
environment:
nacosAddr: ${nacosAddr}
namespace: ${namespace}
skyip: ${skyip}
authentication: ${authentication}
JAVA_OPTS: ${JAVA_OPTS} -Dserver.port=48080
ports:
- 48080:48080
volumes:
- ./data/nacos/:/root/nacos/config
- ./data/log/:/log
networks:
proxy:
ipam:
config:
- subnet: 10.0.0.1/24
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化