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
parent
86bfabd91b
commit
87924e0526
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue