mirror of
https://gitee.com/log4j/pig.git
synced 2024-12-22 20:54:25 +08:00
🐳 Work about Docker. edit dockerfile add sleep
This commit is contained in:
parent
6441ad26b4
commit
d656146bfb
@ -88,13 +88,3 @@ services:
|
||||
container_name: pig-codegen
|
||||
hostname: pig-codegen
|
||||
image: pig-codegen
|
||||
|
||||
pig-zipkin:
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: ./pig-visual/pig-zipkin/Dockerfile
|
||||
restart: always
|
||||
image: pig-zipkin
|
||||
container_name: pig-zipkin
|
||||
ports:
|
||||
- 5002:5002
|
||||
|
@ -12,4 +12,4 @@ EXPOSE 3000
|
||||
|
||||
ADD ./pig-auth/target/pig-auth.jar ./
|
||||
|
||||
CMD java -Djava.security.egd=file:/dev/./urandom -jar pig-auth.jar
|
||||
CMD sleep 60;java -Djava.security.egd=file:/dev/./urandom -jar pig-auth.jar
|
||||
|
@ -12,4 +12,4 @@ EXPOSE 4001
|
||||
|
||||
ADD ./pig-config/target/pig-config.jar ./
|
||||
|
||||
CMD java -Djava.security.egd=file:/dev/./urandom -jar pig-config.jar
|
||||
CMD sleep 20;java -Djava.security.egd=file:/dev/./urandom -jar pig-config.jar
|
||||
|
@ -12,4 +12,4 @@ EXPOSE 4000
|
||||
|
||||
ADD ./pig-upms/pig-upms-biz/target/pig-upms-biz.jar ./
|
||||
|
||||
CMD java -Djava.security.egd=file:/dev/./urandom -jar pig-upms-biz.jar
|
||||
CMD sleep 60;java -Djava.security.egd=file:/dev/./urandom -jar pig-upms-biz.jar
|
||||
|
@ -12,4 +12,4 @@ EXPOSE 5003
|
||||
|
||||
ADD ./pig-visual/pig-codegen/target/pig-codegen.jar ./
|
||||
|
||||
CMD java -Djava.security.egd=file:/dev/./urandom -jar pig-codegen.jar
|
||||
CMD sleep 60;java -Djava.security.egd=file:/dev/./urandom -jar pig-codegen.jar
|
||||
|
@ -12,4 +12,4 @@ EXPOSE 5001
|
||||
|
||||
ADD ./pig-visual/pig-monitor/target/pig-monitor.jar ./
|
||||
|
||||
CMD java -Djava.security.egd=file:/dev/./urandom -jar pig-monitor.jar
|
||||
CMD sleep 60;java -Djava.security.egd=file:/dev/./urandom -jar pig-monitor.jar
|
||||
|
Loading…
Reference in New Issue
Block a user