1 Star 0 Fork 2.4K

鲁晓虎/roncoo-education

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 1.84 KB
一键复制 编辑 原始数据 按行查看 历史
领课 提交于 2023-07-24 16:56 . 架构调整
version: "3.0"
services:
gateway:
build:
context: ./roncoo-education-gateway
args:
JAVA_OPTS: '-Xmn256M -Xmx256M'
RUN_ARGS: '--spring.profiles.active=demo --spring.cloud.nacos.server-addr=localhost:8848'
image: roncoo-education-gateway
container_name: gateway
restart: always
volumes:
- /home/roncoo/logs/gateway:/root/logs/gateway
networks:
- education
ports:
- "8180:8180"
service-system:
build:
context: ./roncoo-education-service/roncoo-education-service-system
args:
JAVA_OPTS: '-Xmn256M -Xmx256M'
RUN_ARGS: '--spring.profiles.active=demo --spring.cloud.nacos.server-addr=localhost:8848'
image: roncoo-education-service-system
container_name: system
restart: always
volumes:
- /home/roncoo/logs/system:/root/logs/system
networks:
- education
ports:
- "8184:8184"
service-user:
build:
context: ./roncoo-education-service/roncoo-education-service-user
args:
JAVA_OPTS: '-Xmn256M -Xmx256M'
RUN_ARGS: '--spring.profiles.active=demo --spring.cloud.nacos.server-addr=localhost:8848'
image: roncoo-education-service-user
container_name: user
restart: always
volumes:
- /home/roncoo/logs/user:/root/logs/user
networks:
- education
ports:
- "8186:8186"
service-course:
build:
context: ./roncoo-education-service/roncoo-education-service-course
args:
JAVA_OPTS: '-Xmn256M -Xmx256M'
RUN_ARGS: '--spring.profiles.active=demo --spring.cloud.nacos.server-addr=localhost:8848'
image: roncoo-education-service-course
container_name: course
restart: always
volumes:
- /home/roncoo/logs/course:/root/logs/course
networks:
- education
ports:
- "8188:8188"
networks:
education:
driver: host
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/lu_xiaohu/roncoo-education.git
git@gitee.com:lu_xiaohu/roncoo-education.git
lu_xiaohu
roncoo-education
roncoo-education
master

搜索帮助