feat(#N/A): 配置容器自动重启
This commit is contained in:
Vendored
+1
@@ -32,6 +32,7 @@ pipeline {
|
||||
sh '''
|
||||
docker rm -f $CONTAINER_NAME || true
|
||||
docker run -d --name $CONTAINER_NAME --network mysql_default \\
|
||||
--restart=always \\
|
||||
-p $HOST_PORT:$CONTAINER_PORT -e SPRING_PROFILES_ACTIVE=dev \\
|
||||
--log-driver=loki \\
|
||||
--log-opt loki-url="http://192.168.123.199:3100/loki/api/v1/push" \\
|
||||
|
||||
Reference in New Issue
Block a user