mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
支持docker
This commit is contained in:
@@ -3,4 +3,6 @@ VOLUME /tmp
|
||||
VOLUME /log
|
||||
ADD sop-gateway-4.0.3-SNAPSHOT.jar sop-gateway-4.0.3.jar
|
||||
|
||||
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom --logging.file=log/sop-gateway/log.log","-jar","/sop-gateway-4.0.3.jar"]
|
||||
ENV JAVA_OPTS="-Xms128m -Xmx128m --logging.file=log/sop-gateway/log.log --mysql.host=10.1.30.120:3306"
|
||||
|
||||
ENTRYPOINT ["java","$JAVA_OPTS -Djava.security.egd=file:/dev/./urandom","-jar","/sop-gateway-4.0.3.jar"]
|
Reference in New Issue
Block a user