HTTPS
Give a public Doska deployment a certificate: Caddy proxy handles Let's Encrypt.
Use this guide if you need your deployment to be served over HTTPS.
Setup
Point the domain's DNS at the host first, then in .env:
DOMAIN=doska.example.com
BASE_URL=https://doska.example.comStart with the https profile:
docker compose -f docker-compose.selfhost.yml --profile https up -dThat launches a bundled Caddy proxy, which fetches a
Let's Encrypt certificate for DOMAIN and renews it automatically.
Notes
BASE_URLhas to match the origin visitors actually use, with no trailing slash.- The certificate is issued on demand, so the domain must resolve to this host before you start the profile; otherwise the challenge fails and Caddy retries.
- Already behind your own reverse proxy or a tunnel? Skip the profile entirely,
leave the app on
WEB_PORT, and just setBASE_URLto the public origin your proxy serves.