You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/web-application/how-to/deployment.mdx
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,11 @@ volumes:
82
82
```
83
83
84
84
- Copy the sample env file (`examples/deployment/.env.example`) to `.env` beside your compose file.
85
-
- Set `CADDY_HOST` and `BASE_URL` in that `.env` (for example `CADDY_HOST=yourdomain.com` and `BASE_URL=https://yourdomain.com`) before starting the stack.
85
+
- Update your `.env` before starting the stack:
86
+
- Set `CADDY_HOST` and `BASE_URL` for your domain (for example `yourdomain.com` / `https://yourdomain.com`).
87
+
- Generate a production secret (`openssl rand -hex 32`) and assign it to `HTML2RSS_SECRET_KEY`.
88
+
- Replace the sample health-check credentials with strong values.
89
+
- Adjust optional knobs (auto source, Sentry, worker counts) as needed and refer to the [environment reference](/web-application/reference/env-variables) for details.
86
90
- After `docker compose up -d`, run `docker compose logs caddy --tail 20`; look for `certificate obtained`.
87
91
- Re-test after DNS changes with [SSL Labs](https://www.ssllabs.com/ssltest/).
88
92
- Want automatic updates? Add the Watchtower service shown below or reuse the ready-made sample compose file at `examples/deployment/caddy/docker-compose.yml`.
0 commit comments