This commit is contained in:
parent
2093bbf9f6
commit
25aae43ef5
@ -12,7 +12,7 @@ services:
|
|||||||
mode: host
|
mode: host
|
||||||
deploy:
|
deploy:
|
||||||
mode: replicated
|
mode: replicated
|
||||||
replicas: 2
|
replicas: 1
|
||||||
resources:
|
resources:
|
||||||
reservations:
|
reservations:
|
||||||
cpus: '0.02'
|
cpus: '0.02'
|
||||||
@ -28,9 +28,9 @@ services:
|
|||||||
delay: 5s
|
delay: 5s
|
||||||
max_attempts: 1
|
max_attempts: 1
|
||||||
window: 120s
|
window: 120s
|
||||||
placement:
|
# placement:
|
||||||
constraints:
|
# constraints:
|
||||||
- 'node.role == worker'
|
# - 'node.role == worker'
|
||||||
networks:
|
networks:
|
||||||
- ddk-network
|
- ddk-network
|
||||||
# pzx-web-api-2:
|
# pzx-web-api-2:
|
||||||
|
Loading…
Reference in New Issue
Block a user