Skip to content

Commit e4f9fc4

Browse files
Update src/content/docs/web-application/how-to/deployment.mdx
Co-authored-by: Copilot <[email protected]>
1 parent eabe66f commit e4f9fc4

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

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

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,16 @@ volumes:
4949
caddy_data:
5050
```
5151
52-
- Copy the sample env file (`examples/deployment/.env.example`) to `.env` beside your compose file.
52+
- Create a `.env` file beside your compose file with the following variables:
53+
54+
```env
55+
# Required for reverse proxy and application
56+
CADDY_HOST=yourdomain.com
57+
BASE_URL=https://yourdomain.com
58+
HTML2RSS_SECRET_KEY= # Generate with: openssl rand -hex 32
59+
HEALTHCHECK_USER= # Set a strong username
60+
HEALTHCHECK_PASS= # Set a strong password
61+
# Optional: see [environment reference](/web-application/reference/env-variables)
5362
- Update your `.env` before starting the stack:
5463
- Set `CADDY_HOST` and `BASE_URL` for your domain (for example `yourdomain.com` / `https://yourdomain.com`).
5564
- Generate a production secret (`openssl rand -hex 32`) and assign it to `HTML2RSS_SECRET_KEY`.

0 commit comments

Comments
 (0)