assumptions:
- your Docker setup isn't using 172.20/16 already
- update the network at
networks.tailnet.ipam.config.0
to be an unused network if already in use - also set a
TS_ROUTES=your-network/24
environment variable to change the routing for the Tailscale network
- update the network at
- you're not running rootless Docker/Podman
- traefik is configured in your stack. specifically:
- is attached to a Docker network called "servicenet", which is the network all "publically exposed" services listen on
- consumes docker container labels to build the service catalog
- has a TLS cert resolver called "default-le" (set
TRAEFIK_TLS_RESOLVER=<your resolver name>
, otherwise)
required environment variables:
FRONTEND_HOST=<HTTP host to listen on (ex., code.example.org)>
CODER_ACCESS_URL=<full HTTPS URL (ex., https://code.example.org/)>
TS_AUTHKEY=<get a Tailscale auth key>
CODER_VERSION=v0.23.7