Fix yaml errors in stack agent

The placement parameter should be in deploy parameter .See more: <https://docs.docker.com/compose/compose-file/#placement>
pull/57/head
Linus Lee 2018-08-20 15:28:39 +08:00 committed by GitHub
parent 86bfabd91b
commit 87924e0526
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -119,8 +119,8 @@ Alternatively, you can deploy the agent using the following stack:
- portainer_agent
deploy:
mode: global
placement:
constraints: [node.platform.os == linux]
placement:
constraints: [node.platform.os == linux]
networks:
portainer_agent: