Skip to content

Commit a448d52

Browse files
committed
Improve pubstash and cron deploy flow
1 parent 44d2769 commit a448d52

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

infra/stack.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,14 @@ services:
133133
networks: [appnet]
134134
deploy:
135135
replicas: 1
136+
update_config:
137+
parallelism: 1
138+
delay: 5s
139+
order: start-first
140+
failure_action: rollback
141+
rollback_config:
142+
parallelism: 1
143+
order: stop-first
136144
restart_policy:
137145
condition: any
138146

@@ -157,6 +165,14 @@ services:
157165
start_period: 30s
158166
deploy:
159167
replicas: 1
168+
update_config:
169+
parallelism: 1
170+
delay: 5s
171+
order: start-first
172+
failure_action: rollback
173+
rollback_config:
174+
parallelism: 1
175+
order: stop-first
160176
resources:
161177
limits:
162178
memory: 2G

0 commit comments

Comments
 (0)