C
Coder.com•3y ago
roshaan

Coder AWS Creds info

Where does the app get the necessary permissions to put the coder web app onto the Coder_Access_URL endpoint? in /etc/coder.d/coder.env? Should I specify Coder_PG_CONNNECTION_URL and other TLS CERT vars when doing this for production or do they all have a default value?
3 Replies
bpmct
bpmct•3y ago
For production, I'd recommend specifying a CODER_PG_CONNECTION_URL to a managed postgres instance and using a reverse proxy to handle TLS. You can also specify a cert directly, but we find most use a reverse proxy. I'm not sure I really understand the first question... CODER_ACCESS_URL does not actually point a domain at Coder, it just informs Coder which domain/URL it is being hosted on. For example, if you owned coder.example.com, you'd still be responsible for setting up DNS to point that domain to the Coder server (and set up TLS via one of the options above). Once you do that, you'd set CODER_ACCESS_URL in /etc/coder.d/coder.env to https://coder.example.com so that workspaces created by Coder know how to contact the central server Let me know if that helps 🙂
roshaan
roshaan•3y ago
yep! I got it working with a custom domain thanks a lot. You have been very helpful!
bpmct
bpmct•3y ago
Nice!
Want results from more Discord servers?
Add your server