Fix placement indent and add update_config
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luke Murphy 2020-04-30 21:04:55 +02:00
parent c23ec927ac
commit 3bff5ea674
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 5 additions and 3 deletions

View File

@ -11,9 +11,11 @@ services:
- agent_network - agent_network
deploy: deploy:
mode: global mode: global
placement: update_config:
constraints: failure_action: rollback
- node.role == manager placement:
constraints:
- node.role == manager
portainer: portainer:
command: "-H tcp://tasks.agent:9001 --tlsskipverify" command: "-H tcp://tasks.agent:9001 --tlsskipverify"