deploy http
This commit is contained in:
parent
584f343351
commit
c0b5a29931
|
|
@ -19,8 +19,8 @@ services:
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
# Nginx configuration
|
# Nginx configuration
|
||||||
- ${DOCKER_DATA}/_central_nginx_/nginx-config:/etc/nginx/conf.d
|
- apps-data/nginx-config:/etc/nginx/conf.d
|
||||||
- apps-data:/apps-data
|
|
||||||
|
|
||||||
# Lets encrypt for https
|
# Lets encrypt for https
|
||||||
- ${DOCKER_DATA}/letsencrypt:/letsencrypt:rw
|
- ${DOCKER_DATA}/letsencrypt:/letsencrypt:rw
|
||||||
|
|
|
||||||
|
|
@ -2,11 +2,12 @@ pipeline {
|
||||||
agent any
|
agent any
|
||||||
|
|
||||||
stages{
|
stages{
|
||||||
stage('start central-nginx') {
|
stage('start proxy-nginx') {
|
||||||
steps {
|
steps {
|
||||||
script{
|
script{
|
||||||
def nxinx_build ="docker compose --file deploy-this/deploy-dc.yml up --detach "
|
def nxinx_build ="docker compose --file deploy-this/deploy-dc.yml up --detach "
|
||||||
sh(nxinx_build);
|
sh(nxinx_build);
|
||||||
|
sh "cp ./nginx-config/http /apps-data/nginx-config"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue