.
continuous-integration/drone/push Build was killed Details

This commit is contained in:
Giles Bradshaw 2020-04-28 20:51:56 +01:00
parent c133e1f86a
commit 9632183af1
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ def main(ctx):
"/root/stack-deploy", "/root/stack-deploy",
"gitea", "gitea",
[ [
"docker service scale gitea_ngrok=0", "docker service scale gitea_chat=1",
] ]
) )

View File

@ -74,7 +74,7 @@ services:
deploy: deploy:
placement: placement:
constraints: [node.labels.com.sigyl.git-stack == yes] constraints: [node.labels.com.sigyl.git-stack == yes]
replicas: 1 replicas: 0
restart_policy: restart_policy:
condition: any condition: any
image: ${LOCAL_DOCKER_REGISTRY}ngrok-gitea image: ${LOCAL_DOCKER_REGISTRY}ngrok-gitea
@ -261,7 +261,7 @@ services:
deploy: deploy:
placement: placement:
constraints: [node.labels.com.sigyl.git-stack == yes] constraints: [node.labels.com.sigyl.git-stack == yes]
replicas: 1 # will scale after mongo initated replicas: 0 # will scale after mongo initated
restart_policy: restart_policy:
condition: any condition: any
image: rocketchat/rocket.chat:latest image: rocketchat/rocket.chat:latest