#2111·SurfSense

[idea] Docker 11/14: HTTPS

Author: AnishSarkar22Created Oct 1, 2026Updated Oct 1, 2026
Labelsenhancementhelp wantedsecuritydocker

Which part? Desktop app

What would you like?

Step 11 of 14 of #2100: running SurfSense in Docker. Depends on #2110; start once it is merged.

Encrypt the connection when the app is reached over a network.

Design: Docker proposal, Caddy and access

What to change

  • SURFSENSE_DOMAIN: Caddy serves that domain with an automatic certificate.
  • SURFSENSE_TLS=internal: Caddy's own CA, for a LAN.
  • Compose publishes 443 when either is set.

Done when

  • With SURFSENSE_TLS=internal, https://<lan-host> works after trusting Caddy's CA.
  • With a public domain pointed at the host, a certificate is issued.
  • Both modes require the password from the previous step.

Scope: code and tests only. Don't edit docs/ or AGENTS.md, except to fix a link this change breaks; the maintainers update the docs when the Docker work ships.

Why would it help?

Each step leaves something that runs, so the Docker image is built and reviewed one piece at a time.