From b2ec763fde4b962cecef2571a5d7f76395187420 Mon Sep 17 00:00:00 2001 From: Artur Date: Thu, 3 Oct 2024 14:40:55 +0200 Subject: [PATCH] - apps-data:/apps-data --- deploy-this/deploy-dc.yml | 4 ++-- deploy-this/deploy.jenkinsfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy-this/deploy-dc.yml b/deploy-this/deploy-dc.yml index 89739fc..86ed625 100644 --- a/deploy-this/deploy-dc.yml +++ b/deploy-this/deploy-dc.yml @@ -14,13 +14,13 @@ services: entrypoint: - java - -jar - - /apps_data/angular-services-0.0.1.jar + - /apps-data/angular-services-0.0.1.jar ports: - 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 8fc6f75..f83f5c9 100644 --- a/deploy-this/deploy.jenkinsfile +++ b/deploy-this/deploy.jenkinsfile @@ -43,7 +43,7 @@ pipeline{ sh "mvn clean package" - sh "cp ./target/*.jar /apps_data/" + sh "cp ./target/*.jar /apps-data/" sh "docker compose -f deploy-this/deploy-dc.yml up --detach"