Docker-Compose Setup with Socket Proxy, Traefik2 & Docker Secrets
My current Docker Compose setup includes:
- Traefik2 as reverse proxy
- Docker Socket Proxy for enchanted security
- Authelia (with a Postgres Database) as 2FA Auth Service
- Docker Secrets to store sensitive information
I have several Questions regarding running Coder with Docker Compose:
1.) How do i correctly set the CODER_PG_CONNECTION_URL environment variable using docker secrets?
2.) Is it necessary to set a CODER_ADDRESS if i'm using Traefik2 as reverse proxy?
3.) Does Coder recognise the environment variable "DOCKER_HOST: tcp://socket-proxy:2375"?
4.) Which Volume Path do i have to map on Coder's side to make data persistent?
Thank you so much upfront for helping and i'm very sorry if my questions are just stupid!
