deploy http
This commit is contained in:
parent
584f343351
commit
c0b5a29931
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue