Skip to content

Commit aaea481

Browse files
committed
.env file
1 parent 5b2159a commit aaea481

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/content/docs/web-application/how-to/deployment.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,11 @@ volumes:
8282
```
8383
8484
- 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.
8690
- After `docker compose up -d`, run `docker compose logs caddy --tail 20`; look for `certificate obtained`.
8791
- Re-test after DNS changes with [SSL Labs](https://www.ssllabs.com/ssltest/).
8892
- 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

Comments
 (0)