diff --git a/deploy-this/deploy-dc.yml b/deploy-this/deploy-dc.yml index 4cde9e2..167dbca 100644 --- a/deploy-this/deploy-dc.yml +++ b/deploy-this/deploy-dc.yml @@ -19,8 +19,8 @@ services: volumes: # Nginx configuration - - ${DOCKER_DATA}/_central_nginx_/nginx-config:/etc/nginx/conf.d - - apps-data:/apps-data + - apps-data/nginx-config:/etc/nginx/conf.d + # Lets encrypt for https - ${DOCKER_DATA}/letsencrypt:/letsencrypt:rw diff --git a/deploy-this/start-proxy.jenkinsfile b/deploy-this/start-proxy.jenkinsfile index 51e905c..5c948d8 100755 --- a/deploy-this/start-proxy.jenkinsfile +++ b/deploy-this/start-proxy.jenkinsfile @@ -2,11 +2,12 @@ pipeline { agent any stages{ - stage('start central-nginx') { + stage('start proxy-nginx') { steps { script{ def nxinx_build ="docker compose --file deploy-this/deploy-dc.yml up --detach " sh(nxinx_build); + sh "cp ./nginx-config/http /apps-data/nginx-config" } } }