713 Star 4.9K Fork 2.3K

GVP领课网络 / 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
Java
1
https://gitee.com/roncoocom/roncoo-education.git
git@gitee.com:roncoocom/roncoo-education.git
roncoocom
roncoo-education
roncoo-education
master

搜索帮助