File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ services:
1111 - prod
1212 networks :
1313 - usmile
14- restart : unless-stopped
14+ restart : always
1515 depends_on :
1616 postgres :
1717 condition : service_healthy
@@ -35,7 +35,7 @@ services:
3535 - ./src:/usr/src/app/src
3636 - ./certs:/usr/src/app/certs
3737 - ./logs:/usr/src/app/logs
38- restart : unless-stopped
38+ restart : no
3939 depends_on :
4040 postgres :
4141 condition : service_healthy
@@ -53,6 +53,7 @@ services:
5353 POSTGRES_DB : usmile
5454 volumes :
5555 - ./pg_data:/var/lib/postgresql/data
56+ restart : always
5657 healthcheck :
5758 test : pg_isready --username=$$POSTGRES_USER --dbname usmile
5859 start_period : 10s
@@ -65,6 +66,7 @@ services:
6566 - usmile
6667 volumes :
6768 - ./redis_data:/data
69+ restart : always
6870 profiles :
6971 - dev
7072 - prod
You can’t perform that action at this time.
0 commit comments