update deploy
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Bryant He 2025-01-11 15:50:32 +08:00
parent 2093bbf9f6
commit 25aae43ef5

View File

@ -12,7 +12,7 @@ services:
mode: host
deploy:
mode: replicated
replicas: 2
replicas: 1
resources:
reservations:
cpus: '0.02'
@ -28,9 +28,9 @@ services:
delay: 5s
max_attempts: 1
window: 120s
placement:
constraints:
- 'node.role == worker'
# placement:
# constraints:
# - 'node.role == worker'
networks:
- ddk-network
# pzx-web-api-2: