Pre Merge pull request !127 from runphp/master

pull/127/MERGE
runphp 4 years ago committed by Gitee
commit d17a61ea99

@ -65,6 +65,17 @@ services:
- ruoyi-gateway
links:
- ruoyi-gateway
ruoyi-sentinel:
container_name: yanshi-sentinel
build:
context: ./sentinel
volumes:
- ./sentinel/logs:/logs/sentinel
ports:
- "8719:8719"
- "8858:8858"
links:
- ruoyi-nacos
ruoyi-gateway:
container_name: ruoyi-gateway
build:
@ -76,6 +87,7 @@ services:
- ruoyi-redis
links:
- ruoyi-redis
- ruoyi-sentinel
ruoyi-auth:
container_name: ruoyi-auth
build:

@ -0,0 +1,16 @@
FROM openjdk:8-jre
MAINTAINER ruoyi
ADD https://hub.fastgit.org/alibaba/Sentinel/releases/download/1.8.2/sentinel-dashboard-1.8.2.jar app.jar
EXPOSE 8858 8719
VOLUME /logs/sentinel
ENTRYPOINT [ \
"java","-Djava.security.egd=file:/dev/./urandom","-Dserver.port=8858", \
"-Dcsp.sentinel.api.port=8719","-Dcsp.sentinel.dashboard.server=localhost:8858", \
"-Dlogging.file=/logs/sentinel/sentinel-dashboard.log", "-Dcsp.sentinel.log.dir=/logs/sentinel", \
"-Dproject.name=sentinel-dashboard","-jar","app.jar" \
]
Loading…
Cancel
Save