Examples and applications of PostgreSQL in coder-server
Dear Developers,
I am new. Currently I am developing coder-server for the team.
I refer to the coder-server setup from docker-compose at https://github.com/coder/coder/blob/main/docker-compose.yaml. Can you share with me about PostgreSQL working, saving and protecting my data?
Currently, Coder requires access to an external PostgreSQL database to store user data, workspace state, template files, etc but I want to use PostgreSQL on my Lab PC. Could you share some guidelines/Ideals with me on how to set it up
Best regards,
Ben.Ng
Solution:Jump to solution
You can set
CODER_PG_CONNECRION_URL
to the connection url of any postgress database. It can be anywhere.
For best performance it should be as close to Coder as possible. Recommended latency is less than 15ms....3 Replies
<#1269663500037394453>
Category
Feature request
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Solution
You can set
CODER_PG_CONNECRION_URL
to the connection url of any postgress database. It can be anywhere.
For best performance it should be as close to Coder as possible. Recommended latency is less than 15ms.Thank sir