Skip to content

Commit a05586a

Browse files
Update docker-compose.v1-sample.yml
More restart: on-failures
1 parent 3eac91c commit a05586a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docker-compose.v1-sample.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ services:
1515
image: ghcr.io/stac-utils/stac-fastapi-pgstac:3.0.0
1616
ports:
1717
- 8881
18+
restart: on-failure
1819
environment:
1920
# Postgres connection
2021
- POSTGRES_USER=username
@@ -36,6 +37,7 @@ services:
3637
image: ghcr.io/developmentseed/tipg:0.7.2
3738
ports:
3839
- 8882
40+
restart: on-failure
3941
environment:
4042
# Application
4143
- HOST=0.0.0.0
@@ -68,6 +70,7 @@ services:
6870
image: ghcr.io/developmentseed/titiler-uvicorn:0.18.6
6971
ports:
7072
- 8883
73+
restart: on-failure
7174
environment:
7275
# Application
7376
- HOST=0.0.0.0
@@ -112,6 +115,7 @@ services:
112115
image: ghcr.io/stac-utils/titiler-pgstac:1.4.0
113116
ports:
114117
- 8884
118+
restart: on-failure
115119
environment:
116120
# Application
117121
- HOST=0.0.0.0

0 commit comments

Comments
 (0)