- apps-data:/apps-data

This commit is contained in:
Artur 2024-10-03 14:40:55 +02:00
parent 0c489b7f88
commit b2ec763fde
2 changed files with 3 additions and 3 deletions

View File

@ -14,13 +14,13 @@ services:
entrypoint: entrypoint:
- java - java
- -jar - -jar
- /apps_data/angular-services-0.0.1.jar - /apps-data/angular-services-0.0.1.jar
ports: ports:
- 8800:8800/tcp # exposing port for www - 8800:8800/tcp # exposing port for www
volumes: volumes:
- apps_data:/apps_data - apps-data:/apps-data
deploy: deploy:
resources: resources:

View File

@ -43,7 +43,7 @@ pipeline{
sh "mvn clean package" 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" sh "docker compose -f deploy-this/deploy-dc.yml up --detach"