Coder.comC
Coder.com3y ago
4 replies
SwoopyT

Docker-Compose Setup with Socket Proxy, Traefik2 & Docker Secrets

Hello there! I`m a first time user trying to setup Coder to easily create JupyterLab and RStudio Workspaces for my Physics Study's.
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!
Was this page helpful?