deploy http

This commit is contained in:
Artur 2024-10-03 17:53:48 +02:00
parent 584f343351
commit c0b5a29931
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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"
}
}
}