Skip to content

Commit

Permalink
Update docker-compose - don't expose ports to localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
tariqksoliman committed Dec 17, 2024
1 parent 68ebc3d commit 53f00ac
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docker-compose.sample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
stac-fastapi:
image: ghcr.io/stac-utils/stac-fastapi-pgstac:3.0.0
ports:
- 8881:8881
- 8881
environment:
# Postgres connection
- POSTGRES_USER=username
Expand All @@ -32,9 +32,9 @@ services:
- ./Missions:/Missions

tipg:
image: ghcr.io/developmentseed/tipg:0.7.1
image: ghcr.io/developmentseed/tipg:0.7.2
ports:
- 8882:8882
- 8882
environment:
# Application
- HOST=0.0.0.0
Expand Down Expand Up @@ -66,7 +66,7 @@ services:
platform: linux/amd64
image: ghcr.io/developmentseed/titiler-uvicorn:0.18.6
ports:
- 8883:8883
- 8883
environment:
# Application
- HOST=0.0.0.0
Expand Down Expand Up @@ -110,7 +110,7 @@ services:
platform: linux/amd64
image: ghcr.io/stac-utils/titiler-pgstac:1.4.0
ports:
- 8884:8884
- 8884
environment:
# Application
- HOST=0.0.0.0
Expand Down Expand Up @@ -162,7 +162,7 @@ services:
environment:
- POSTGRES_PASSWORD_OFF=Rename to 'POSTGRES_PASSWORD' and replace this with an initial root password for the DB
ports:
- 5432:5432
- 5432
restart: on-failure
volumes:
- mmgis-db:/var/lib/postgresql/data
Expand Down

0 comments on commit 53f00ac

Please sign in to comment.