Commit 728b9bf7 authored by Cresson Remi's avatar Cresson Remi
Browse files

Update README.md

parent b4f7ca95
No related merge requests found
Pipeline #44732 canceled with stage
in 1 minute and 25 seconds
Showing with 18 additions and 0 deletions
+18 -0
# pgstac
Build docker image from https://github.com/stac-utils/pgstac/blob/v0.6.13/Dockerfile
# Config for STAC FastAPI (pgstac)
Working on non-root setup:
```
docker run -ti -u 12345 -p 5432:5432 \
-v /tmp/pgdata/:/var/lib/postgresql/data \
-e POSTGRES_USER=postgres \
-e POSTGRES_PASSWORD=password \
-e POSTGRES_DB=stacdb \
-e PGDATA=/var/lib/postgresql/data/pgdata \
gitlab-registry.irstea.fr/dinamis/pgstac:latest
```
## Important notes:
- *POSTGRES_USER* must be *postgres*
- *PGDATA* must be set to */var/lib/postgresql/data/pgdata*
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment