Use external PostgreSQL database #65
Unanswered
Mmoncadaisla
asked this question in
Q&A
Replies: 1 comment 7 replies
-
@Mmoncadaisla have you been able to figure this out, I'm interested in connecting the stac deployment to a cloud sql instance as well. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Context
The
eoAPI
helm chart allows enabling thepgstac
service to spin up a PostgreSQL database, which is nice.However, for production-ready environments it'd be awesome if it was possible to directly pass the connection parameters to the
pgstac
user in an existent database fortitiler.pgstac
,stac_fastapi.pgstac
andtipg.pgstac
to use.In our case specifically, we aim to connect to a Cloud Native PG database, we understand that other users would benefit from connecting to Cloud SQL, Amazon RDS for PostgreSQL, etc too.
Question
Perhaps (hopefully) it is straightforward to achieve this and I missed the configuration steps to achieve it. Is it possible to connect to an external database instead of using the existent
db
service?If so, what are the requirements? we understand that a minimum version plus
pgstac
configured is a must (e.g: Postgresql>=13 and PostGIS>=3. with best performance using PostGIS>=3.1 according to PgSTAC requirements).Beta Was this translation helpful? Give feedback.
All reactions