infra
This commit is contained in:
parent
c6ac33ed2f
commit
ec0e3c83dc
@ -23,7 +23,8 @@ services:
|
|||||||
- "80:80"
|
- "80:80"
|
||||||
deploy:
|
deploy:
|
||||||
mode: replicated
|
mode: replicated
|
||||||
restart-policy: on-failure
|
restart_policy:
|
||||||
|
condition: on-failure
|
||||||
|
|
||||||
bot:
|
bot:
|
||||||
image: mathwave/sprint-repo:sprint
|
image: mathwave/sprint-repo:sprint
|
||||||
@ -35,7 +36,8 @@ services:
|
|||||||
- web
|
- web
|
||||||
deploy:
|
deploy:
|
||||||
mode: replicated
|
mode: replicated
|
||||||
restart-policy: on-failure
|
restart_policy:
|
||||||
|
condition: on-failure
|
||||||
|
|
||||||
loop:
|
loop:
|
||||||
image: mathwave/sprint-repo:sprint
|
image: mathwave/sprint-repo:sprint
|
||||||
@ -47,7 +49,8 @@ services:
|
|||||||
- web
|
- web
|
||||||
deploy:
|
deploy:
|
||||||
mode: replicated
|
mode: replicated
|
||||||
restart-policy: on-failure
|
restart_policy:
|
||||||
|
condition: on-failure
|
||||||
|
|
||||||
worker:
|
worker:
|
||||||
restart: always
|
restart: always
|
||||||
@ -66,7 +69,8 @@ services:
|
|||||||
deploy:
|
deploy:
|
||||||
mode: replicated
|
mode: replicated
|
||||||
replicas: 4
|
replicas: 4
|
||||||
restart-policy: on-failure
|
restart_policy:
|
||||||
|
condition: on-failure
|
||||||
|
|
||||||
apply-languages:
|
apply-languages:
|
||||||
image: mathwave/sprint-repo:sprint
|
image: mathwave/sprint-repo:sprint
|
||||||
@ -75,7 +79,8 @@ services:
|
|||||||
- migrations
|
- migrations
|
||||||
deploy:
|
deploy:
|
||||||
mode: replicated
|
mode: replicated
|
||||||
restart-policy: never
|
restart_policy:
|
||||||
|
condition: never
|
||||||
|
|
||||||
notify-admin:
|
notify-admin:
|
||||||
image: mathwave/sprint-repo:sprint
|
image: mathwave/sprint-repo:sprint
|
||||||
@ -89,4 +94,5 @@ services:
|
|||||||
- loop
|
- loop
|
||||||
deploy:
|
deploy:
|
||||||
mode: replicated
|
mode: replicated
|
||||||
restart-policy: never
|
restart_policy:
|
||||||
|
condition: never
|
||||||
|
Loading…
Reference in New Issue
Block a user