1 Star 0 Fork 2.4K

耿直/roncoo-education

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker-compose.yml 1.84 KB
一键复制 编辑 原始数据 按行查看 历史
领课 提交于 2023-12-30 08:39 . feat: 修改默认端口,方便记忆
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:
- "7700:7700"
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:
- "7710:7710"
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:
- "7720:7720"
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:
- "7730:7730"
networks:
education:
driver: host
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/ciqiu/roncoo-education.git
git@gitee.com:ciqiu/roncoo-education.git
ciqiu
roncoo-education
roncoo-education
master

搜索帮助