This commit is contained in:
11
stack.yaml
11
stack.yaml
@@ -3,13 +3,10 @@ version: "3.8"
|
||||
services:
|
||||
notification:
|
||||
image: jscorptech/taxi-notification:latest
|
||||
env_file:
|
||||
- /opt/env/.notification
|
||||
networks:
|
||||
- taxi
|
||||
ports:
|
||||
- mode: ingress
|
||||
target: 8000
|
||||
published: ${PORT:?PORT not found}
|
||||
protocol: tcp
|
||||
deploy:
|
||||
mode: replicated
|
||||
restart_policy:
|
||||
@@ -17,10 +14,10 @@ services:
|
||||
update_config:
|
||||
parallelism: 1
|
||||
order: start-first
|
||||
failure-action: rollback
|
||||
failure_action: rollback
|
||||
monitor: 10s
|
||||
delay: 10s
|
||||
max_failure_ration: 0.2
|
||||
max_failure_ratio: 0.2
|
||||
resources:
|
||||
limits:
|
||||
cpus: "2"
|
||||
|
||||
Reference in New Issue
Block a user