Be explicit on mode and replicas

This commit is contained in:
Luke Murphy 2020-04-25 23:56:02 +02:00
parent 9368deb85f
commit 166cf8cd4c
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,8 @@ services:
networks:
- proxy
deploy:
mode: replicated
replicas: 1
placement:
constraints:
- node.role == manager