.
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
This commit is contained in:
parent
a3e2ed9a35
commit
6e3e34b14a
|
@ -12,8 +12,6 @@ def main(ctx):
|
||||||
stackName,
|
stackName,
|
||||||
[
|
[
|
||||||
"docker service scale {name}_chat=1".format(name=stackName),
|
"docker service scale {name}_chat=1".format(name=stackName),
|
||||||
"docker service scale {name}_letsencrypt-drone=1".format(name=stackName),
|
|
||||||
"docker service scale {name}_letsencrypt-git=1".format(name=stackName),
|
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
|
@ -6,7 +6,7 @@ services:
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
constraints: [node.labels.com.sigyl.git-stack == yes]
|
constraints: [node.labels.com.sigyl.git-stack == yes]
|
||||||
replicas: 0
|
replicas: 1
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: any
|
condition: any
|
||||||
image: ${LOCAL_DOCKER_REGISTRY}letsencrypt-git
|
image: ${LOCAL_DOCKER_REGISTRY}letsencrypt-git
|
||||||
|
@ -45,7 +45,7 @@ services:
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
constraints: [node.labels.com.sigyl.git-stack == yes]
|
constraints: [node.labels.com.sigyl.git-stack == yes]
|
||||||
replicas: 0
|
replicas: 1
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: any
|
condition: any
|
||||||
image: ${LOCAL_DOCKER_REGISTRY}letsencrypt-drone
|
image: ${LOCAL_DOCKER_REGISTRY}letsencrypt-drone
|
||||||
|
|
|
@ -119,7 +119,8 @@
|
||||||
# root /www/data;
|
# root /www/data;
|
||||||
|
|
||||||
location ${GIT_LOCATION} {
|
location ${GIT_LOCATION} {
|
||||||
proxy_pass ${PROXY_PASS};
|
set ${DOLLAR}upstream ${PROXY_PASS};
|
||||||
|
proxy_pass ${DOLLAR}upstream;
|
||||||
}
|
}
|
||||||
location ${BLOG_LOCATION} {
|
location ${BLOG_LOCATION} {
|
||||||
proxy_set_header Host ${DOLLAR}http_host;
|
proxy_set_header Host ${DOLLAR}http_host;
|
||||||
|
@ -127,7 +128,8 @@
|
||||||
proxy_set_header X-Forwarded-For ${DOLLAR}proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For ${DOLLAR}proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Forwarded-Proto ${DOLLAR}scheme;
|
proxy_set_header X-Forwarded-Proto ${DOLLAR}scheme;
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
proxy_pass ${BLOG_PROXY_PASS};
|
set ${DOLLAR}upstream ${BLOG_PROXY_PASS};
|
||||||
|
proxy_pass ${DOLLAR}upstream;
|
||||||
}
|
}
|
||||||
location ${PORTAINER_LOCATION} {
|
location ${PORTAINER_LOCATION} {
|
||||||
proxy_set_header Host ${DOLLAR}http_host;
|
proxy_set_header Host ${DOLLAR}http_host;
|
||||||
|
@ -135,7 +137,8 @@
|
||||||
proxy_set_header X-Forwarded-For ${DOLLAR}proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For ${DOLLAR}proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Forwarded-Proto ${DOLLAR}scheme;
|
proxy_set_header X-Forwarded-Proto ${DOLLAR}scheme;
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
proxy_pass ${PORTAINER_PROXY_PASS};
|
set ${DOLLAR}upstream ${PORTAINER_PROXY_PASS};
|
||||||
|
proxy_pass ${DOLLAR}upstream;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ${CHAT_LOCATION}sockjs {
|
location ${CHAT_LOCATION}sockjs {
|
||||||
|
@ -181,7 +184,8 @@
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
}
|
}
|
||||||
location ${REMOTE_LOCATION}websocket-tunnel {
|
location ${REMOTE_LOCATION}websocket-tunnel {
|
||||||
proxy_pass ${REMOTE_PROXY_PASS}websocket-tunnel;
|
set ${DOLLAR}upstream ${REMOTE_PROXY_PASS}websocket-tunnel;
|
||||||
|
proxy_pass ${DOLLAR}upstream;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade ${DOLLAR}http_upgrade;
|
proxy_set_header Upgrade ${DOLLAR}http_upgrade;
|
||||||
proxy_set_header Connection "Upgrade";
|
proxy_set_header Connection "Upgrade";
|
||||||
|
@ -194,7 +198,8 @@
|
||||||
|
|
||||||
}
|
}
|
||||||
location ${REMOTE_LOCATION}websocket-tunnel/ {
|
location ${REMOTE_LOCATION}websocket-tunnel/ {
|
||||||
proxy_pass ${REMOTE_PROXY_PASS}websocket-tunnel/;
|
set ${DOLLAR}upstream ${REMOTE_PROXY_PASS}websocket-tunnel/;
|
||||||
|
proxy_pass ${DOLLAR}upstream;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade ${DOLLAR}http_upgrade;
|
proxy_set_header Upgrade ${DOLLAR}http_upgrade;
|
||||||
proxy_set_header Connection "Upgrade";
|
proxy_set_header Connection "Upgrade";
|
||||||
|
@ -208,7 +213,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
location ${REMOTE_LOCATION} {
|
location ${REMOTE_LOCATION} {
|
||||||
proxy_pass ${REMOTE_PROXY_PASS};
|
set ${DOLLAR}upstream ${REMOTE_PROXY_PASS};
|
||||||
|
proxy_pass ${DOLLAR}upstream;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue