提交 65d39e3e 编写于 作者: F fengyongwei

增加docker构建脚本

上级 e96a57c0
version: '2.3'
version: "2.3"
services:
server-eureka:
build:
......@@ -7,8 +7,8 @@ services:
container_name: eureka
restart: always
environment:
- JAVA_OPTS: '-Xmn128M -Xmx128M'
- RUN_ARGS: '--spring.profiles.active=dev --info.eureka.host=192.168.1.13'
- JAVA_OPTS: "-Xmn128M -Xmx128M"
- RUN_ARGS: "--spring.profiles.active=dev --info.eureka.host=192.168.1.13"
volumes:
- /home/roncoo/dockers/logs/eureka:/home/roncoo/education/logs/eureka
networks:
......@@ -22,8 +22,8 @@ services:
container_name: config
restart: always
environment:
- JAVA_OPTS: '-Xmn128M -Xmx128M'
- RUN_ARGS: '--spring.profiles.active=dev --info.eureka.host=192.168.1.13'
- JAVA_OPTS: "-Xmn128M -Xmx128M"
- RUN_ARGS: "--spring.profiles.active=dev --info.eureka.host=192.168.1.13"
volumes:
- /home/roncoo/dockers/logs/config:/home/roncoo/education/logs/config
networks:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册