.
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
This commit is contained in:
parent
05e042369a
commit
a600bd9018
|
@ -4,10 +4,10 @@ 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-registry
|
||||||
environment:
|
environment:
|
||||||
- CERTBOT_EMAIL=${CERTBOT_EMAIL}
|
- CERTBOT_EMAIL=${CERTBOT_EMAIL}
|
||||||
- SERVER_NAME=${GIT_DOMAIN}
|
- SERVER_NAME=${GIT_DOMAIN}
|
||||||
|
|
|
@ -83,16 +83,16 @@ def drone(
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
deploy(
|
deploy(
|
||||||
"docker-compose.yml",
|
"docker-compose-registry.yml",
|
||||||
name,
|
'registry',
|
||||||
base,
|
base,
|
||||||
publicSecrets + secretSecrets,
|
publicSecrets + secretSecrets,
|
||||||
commands,
|
commands,
|
||||||
ctx
|
ctx
|
||||||
),
|
),
|
||||||
deploy(
|
deploy(
|
||||||
"docker-compose-registry.yml",
|
"docker-compose.yml",
|
||||||
'registry',
|
name,
|
||||||
base,
|
base,
|
||||||
publicSecrets + secretSecrets,
|
publicSecrets + secretSecrets,
|
||||||
commands,
|
commands,
|
||||||
|
|
|
@ -139,7 +139,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
location ${CHAT_LOCATION}sockjs {
|
location ${CHAT_LOCATION}sockjs {
|
||||||
proxy_pass ${CHAT_PROXY_PASS}/chat/sockjs;
|
set $upstream ${CHAT_PROXY_PASS}/chat/sockjs;
|
||||||
|
proxy_pass $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";
|
||||||
|
@ -152,7 +153,8 @@
|
||||||
|
|
||||||
}
|
}
|
||||||
location ${CHAT_LOCATION}sockjs/ {
|
location ${CHAT_LOCATION}sockjs/ {
|
||||||
proxy_pass ${CHAT_PROXY_PASS}/chat/sockjs/;
|
set $upstream ${CHAT_PROXY_PASS}/chat/sockjs;
|
||||||
|
proxy_pass $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";
|
||||||
|
@ -166,7 +168,8 @@
|
||||||
|
|
||||||
}
|
}
|
||||||
location ${CHAT_LOCATION} {
|
location ${CHAT_LOCATION} {
|
||||||
proxy_pass ${CHAT_PROXY_PASS};
|
set $upstream ${CHAT_PROXY_PASS};
|
||||||
|
proxy_pass $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";
|
||||||
|
|
Reference in New Issue