diff --git a/deploy-this/deploy-dc.yml b/deploy-this/deploy-dc.yml index fe01e07..4c562c8 100644 --- a/deploy-this/deploy-dc.yml +++ b/deploy-this/deploy-dc.yml @@ -20,7 +20,7 @@ services: - 8800:8800/tcp # exposing port for www volumes: - - apps_data:/_apps_data_ + - apps_data:/apps_data deploy: resources: diff --git a/deploy-this/deploy.jenkinsfile b/deploy-this/deploy.jenkinsfile index 4901699..a5ddda2 100644 --- a/deploy-this/deploy.jenkinsfile +++ b/deploy-this/deploy.jenkinsfile @@ -43,7 +43,8 @@ pipeline{ sh "mvn clean package" - sh "cp ./target/*.jar /_apps_data_" + + sh "mkdir -p /apps_data/jars && cp ./target/*.jar /apps_data/jars" sh "docker compose -f deploy-this/deploy-dc.yml up --detach"