Skip to content

feat(docker): Caddy proxy + expire sweeper compose profiles - #63

Merged
ArianAr merged 1 commit into
mainfrom
feat/38-compose-proxy-sweeper
Jul 15, 2026
Merged

feat(docker): Caddy proxy + expire sweeper compose profiles#63
ArianAr merged 1 commit into
mainfrom
feat/38-compose-proxy-sweeper

Conversation

@ArianAr

@ArianAr ArianAr commented Jul 15, 2026

Copy link
Copy Markdown
Owner

Summary

Implements roadmap v1.3.6 / #38 and v1.3.4 sweeper.

  • Compose profile proxy: Caddy 2 on 80/443, deploy/Caddyfile, ACME via PAPERCUT_DOMAIN
  • Compose profile sweeper: optional curl loop → GET /api/health (already purges expired)
  • PAPERCUT_HOST_PORT to control publishing app port (empty for proxy-only)
  • Deploy docs updated

Test plan

  • Compose file YAML sanity (docker compose config if docker available)
  • Docs cross-check
  • Manual: docker compose --profile proxy config

Closes #38
Closes #

Add profile `proxy` (Caddy reverse proxy + ACME) and profile `sweeper`
(curl loop against /api/health to purge expired pastes). Document usage
in docs/deploy.

Closes #38
Closes #
@ArianAr ArianAr added enhancement New feature or request area:docker Docker / self-host packaging labels Jul 15, 2026

@ArianAr ArianAr left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review

Summary: Practical compose profiles without baking TLS into the app image. Caddyfile forwards X-Forwarded-* correctly. Sweeper reuses existing health purge path (no new admin API). PAPERCUT_HOST_PORT documents proxy-only deploys.

Verdict: LGTM once CI green.

@ArianAr
ArianAr merged commit 2b73d5c into main Jul 15, 2026
9 of 10 checks passed
@ArianAr
ArianAr deleted the feat/38-compose-proxy-sweeper branch July 15, 2026 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:docker Docker / self-host packaging enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Optional reverse-proxy compose profile (nginx/Caddy/Traefik + ACME)

1 participant