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
description: "Deploy html2rss-web to production with Docker. Learn best practices for hosting public instances with security, monitoring, and reliability."
4
4
---
5
5
6
-
html2rss-web is published on Docker Hub, making it easy to deploy with Docker. The `docker-compose.yml` from our [Installation Guide](/web-application/getting-started) provides a solid foundation for both development and production use.
6
+
html2rss-web is published on Docker Hub, making it easy to deploy with Docker. The [`docker-compose.yml`](https://github.com/html2rss/html2rss-web/blob/master/docker-compose.yml) from our [Installation Guide](/web-application/getting-started) provides a solid foundation for both development and production use.
7
7
8
8
## Quick Start
9
9
10
-
If you've already set up html2rss-web locally, you're ready to deploy it to production. The same Docker configuration works for both environments.
4. Open [http://localhost:3000](http://localhost:3000) to verify it’s running.
24
+
25
+
> 📖 Need Docker? Follow the [Docker installation guide](https://docs.docker.com/get-docker/) and [Docker Compose install](https://docs.docker.com/compose/install/).
11
26
12
27
## Production Best Practices
13
28
14
29
When hosting a **public instance** that others will use, please follow these essential guidelines:
15
30
16
31
### Security Essentials
17
32
18
-
-**Use a reverse proxy** (nginx, Apache, or Cloudflare) to handle SSL termination and rate limiting
19
-
-**Enable HTTPS only**- redirect all HTTP traffic to HTTPS
33
+
-**Use a reverse proxy** ([nginx](https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/), Apache, or Cloudflare) to handle SSL termination and rate limiting
34
+
-**Enable HTTPS only**— redirect all HTTP traffic to HTTPS ([certbot guide](https://certbot.eff.org/))
20
35
-**Set strong passwords** for health check and auto-source authentication
21
36
-**Restrict access** to admin endpoints and sensitive configuration
22
37
23
38
### Reliability & Monitoring
24
39
25
-
-**Enable auto-updates** using watchtower or similar tools
40
+
-**Enable auto-updates** using [watchtower](https://containrrr.dev/watchtower/) or similar tools
26
41
-**Monitor the health check endpoint** (`/health_check.txt`) to detect issues early
27
42
-**Set up logging** to track errors and performance
28
43
-**Use environment variables** for configuration instead of hardcoded values
@@ -31,7 +46,7 @@ When hosting a **public instance** that others will use, please follow these ess
31
46
32
47
-**Configure appropriate resource limits** for your Docker containers
33
48
-**Use a CDN** for static assets if serving many users
34
-
-**Monitor memory usage**- html2rss-web can be memory-intensive with large feeds
49
+
-**Monitor memory usage**— html2rss-web can be memory-intensive with large feeds
35
50
-**Set up caching** for frequently accessed feeds
36
51
37
52
## Environment Configuration
@@ -47,6 +62,8 @@ environment:
47
62
BASE_URL: https://your-domain.com
48
63
```
49
64
65
+
Use a [password manager](https://bitwarden.com/password-generator/) to generate strong values.
0 commit comments