Auto restart for all services
This commit is contained in:
parent
912461882b
commit
8d12826d44
@ -7,7 +7,7 @@ from fwd_api.models import SubscriptionRequest
|
||||
from fwd_api.exception.exceptions import InvalidException
|
||||
from fwd_api.models import SubscriptionRequest
|
||||
from fwd_api.constant.common import ProcessType
|
||||
from fwd_api.utils import redis as RedisUtils
|
||||
from fwd_api.utils.redis import RedisUtils
|
||||
from fwd_api.utils import process as ProcessUtil
|
||||
|
||||
redis_client = RedisUtils()
|
||||
|
@ -93,6 +93,7 @@ services:
|
||||
- ./data/minio_data:/data
|
||||
networks:
|
||||
- ctel-sbt
|
||||
restart: always
|
||||
command: server --address :9884 --console-address :9885 /data
|
||||
profiles: ["local"]
|
||||
|
||||
@ -149,11 +150,9 @@ services:
|
||||
- BASE_URL=http://be-ctel-sbt:${BASE_PORT}
|
||||
- REDIS_HOST=result-cache
|
||||
- REDIS_PORT=6379
|
||||
|
||||
|
||||
restart: always
|
||||
networks:
|
||||
- ctel-sbt
|
||||
# restart: always
|
||||
depends_on:
|
||||
db-sbt:
|
||||
condition: service_started
|
||||
@ -168,6 +167,7 @@ services:
|
||||
|
||||
# Back-end persistent
|
||||
db-sbt:
|
||||
restart: always
|
||||
mem_reservation: 500m
|
||||
# mem_limit: 1g
|
||||
# container_name: sidp-cope2n-be-sbt-db
|
||||
@ -200,6 +200,7 @@ services:
|
||||
|
||||
# Front-end services
|
||||
fe-sbt:
|
||||
restart: always
|
||||
build:
|
||||
context: cope2n-fe
|
||||
shm_size: 10gb
|
||||
|
Loading…
Reference in New Issue
Block a user