Self-host changedetection.io
Watches web pages for changes, shows the differences and sends alerts through notification services; can use a Chrome browser to fetch JavaScript pages. Run your own changedetection.io on an always-on EnvHaven workspace by asking its coding agent: one request installs it, puts it on an HTTPS address and locks it down. What the agent takes care of, and the manual route.
Updated November 23, 2026
Running your own changedetection.io usually means a list of server chores: a machine that stays on, Docker or a runtime, a reverse proxy with certificates, a domain, and the settings that make changedetection.io behave behind all of it. On an EnvHaven workspace you skip the list. You ask the coding agent, and it does the work while you watch.
Just ask your agent
Open a Hobby workspace, tap Launch to start any coding agent (Claude Code, Codex, OpenCode or another), and ask it:
Set up changedetection.io on this workspace and give me the link. Follow https://envhaven.com/self-host/changedetection-io.md
Then open the link it sends and create your changedetection.io account straight away, before anyone else finds the address. That is the whole request: the address in it is this page’s Markdown copy, and the agent follows the instructions for it further down, with every setting changedetection.io’s docs require.
Or keep it private with Tailscale
The preview URL puts changedetection.io on the public internet, which suits something other people need to reach. For an app only you and your household use, your tailnet is the better home: Tailscale gives changedetection.io an HTTPS address that only your own devices, signed in to your Tailscale account, can open. Save a Tailscale auth key in the workspace’s Vars pane as TS_AUTHKEY, and ask the agent:
Set up changedetection.io on my tailnet instead of the preview URL. Follow https://envhaven.com/self-host/changedetection-io.md and https://envhaven.com/guides/self-host-privately-with-tailscale.md
- On Plus and Pro, a Tailscale container runs beside changedetection.io, so it keeps its private address through workspace restarts and updates, and every app you set up this way gets an address of its own.
- On Hobby, Tailscale runs in the workspace beside changedetection.io; after a restart or an update, ask the agent to start both again.
- Anything other services have to reach, such as a webhook, still needs a public address. Keep self-hosted apps private with Tailscale covers both, and what Tailscale’s free plan includes.
| At a glance | |
|---|---|
| What it is | Automation and workflows |
| License | Apache-2.0 |
| Runs as | Docker (docker.io/dgtlmoon/changedetection.io) or a native install |
| Memory | Not documented |
| Plan that fits | Hobby or larger |
| Web port | 5000 |
| Documentation | github.com/dgtlmoon/changedetection.io/blob/0.70.4/README.md |
What your agent takes care of
- Installing it. changedetection.io runs from the official image,
docker.io/dgtlmoon/changedetection.io, with its data in folders under~/apps/changedetection-io, or without Docker on Hobby. - Putting it on an HTTPS address. The workspace’s preview URL serves it, and your own domain can too.
- Locking it down first. What changedetection.io’s docs say to set before it faces the internet, below.
- Telling you what to back up: /datastore (Docker volume changedetection-data) and the directory given with -d for a pip install (docs).
The settings it needs behind a proxy
USE_X_SETTINGS: Environment variable (set to 1) that makes the app respect Host, X-Forwarded-Prefix and X-Forwarded-Proto from the reverse proxy. (docs)BASE_URL: Base URL of the install, added to notification alerts. (docs)- X-Forwarded-Proto: Header set by the docs’ nginx example together with X-Forwarded-Prefix and Host. (docs)
PORT: Listening port inside the container (default 5000); can also be set with the -p option. (docs)- The compose file’s ports: The compose file publishes 127.0.0.1:5000:5000; the docs say to comment out ports when using a reverse proxy and to use a shared network instead. (docs)
Before it faces the internet
- A password can be set in the settings tab (the wiki does not state a default); the compose file and docker run example bind to 127.0.0.1. (docs)
- ALLOW_FILE_URI lets watches read local files and carries security implications. (docs)
Things to ask next
Everything after the install is one more sentence to the agent. Some that come up:
- “Build a workflow that posts each new GitHub issue in my repo to Slack.”
- “Add the credentials it needs from my Vars pane, and test the workflow once.”
- “Move changedetection.io to app.example.com.” Add the domain on the dashboard’s Domains page with a CNAME to
domains.envhaven.app, and the agent changes changedetection.io’s address settings to match. - “Update changedetection.io to the latest release.” It pulls the new image and recreates the container, data kept.
Instructions for the agent
The agent reads these from the page’s Markdown copy. They also work pasted on their own, if you would rather give them in your own words.
Set up changedetection.io on this workspace and serve it at my preview URL.
- Where Docker has a daemon (Plus and Pro), use Docker Compose with the official image, docker.io/dgtlmoon/changedetection.io, starting from the docs' compose file: https://github.com/dgtlmoon/changedetection.io/blob/0.70.4/docker-compose.yml. If `docker compose` is missing, install the Compose plugin into ~/.docker/cli-plugins first.
- Keep the compose file in ~/apps/changedetection-io and all of its data in folders there (bind mounts, not named volumes), with restart: unless-stopped on every service.
- This server has no firewall, so publish no port on its public IP, and drop host networking and privileged mode from the docs' compose file. Docker runs on the host: connect this workspace to the compose network and relay my preview URL's port to changedetection.io's port 5000.
- Without Docker (on Hobby, where Docker has no daemon), install it as its docs describe, with pip3 install changedetection.io, then changedetection.io -d /path/to/empty/data/dir -p 5000 (Python 3.11 or newer (PyPI metadata); the optional Playwright browser fetcher also needs Node.js and Chrome set up separately), into ~/apps/changedetection-io with its data, so it survives workspace updates; global installs and system paths do not. Run it in a tmux window named changedetection-io, listening on 0.0.0.0:5000, and point my preview URL at port 5000.
- The preview URL terminates HTTPS in front of changedetection.io: serve plain HTTP on its port, and trust the forwarded headers the relay passes on.
- Set what "The settings it needs behind a proxy" lists on https://envhaven.com/self-host/changedetection-io.md for the preview URL, as changedetection.io's docs describe for running behind a proxy; skip any that apply only when changedetection.io serves HTTPS itself.
- Before the preview URL serves it, apply what "Before it faces the internet" lists on https://envhaven.com/self-host/changedetection-io.md.
- When it answers at the preview URL, send me the link and tell me what to back up.
- If I asked for my tailnet instead of the preview URL, set changedetection.io up the same way but follow https://envhaven.com/guides/self-host-privately-with-tailscale.md for the network: no preview URL, no relay.
What to know
- In Docker, changedetection.io’s containers keep running when the workspace restarts or updates. The relay from the preview URL is a process in the workspace, so after a restart or an update, ask the agent to restore it.
- Without Docker, changedetection.io runs as a process in the workspace, so after a restart or an update, ask the agent to start it again.
- Pages that need JavaScript are fetched through a separate Chrome runner (WebDriver or Playwright); the plain built-in fetcher has no JavaScript. (docs)
- Browser Steps and the Visual Selector need Playwright to be enabled. (docs)
- The Chrome runner container in the docs’ example uses a 2 GB shared memory size. (docs)
- Screenshots up to 20000 px high are kept, and RAM usage rises if the limit is raised. (docs)
- Notifications go out through the Apprise library to services including email. (docs)
- Private LAN, local-only and other non-public address ranges are off by default for watched URLs (ALLOW_IANA_RESTRICTED_ADDRESSES). (docs)
- The docs say nothing about request or upload size limits, Cloudflare or chunking (the app mainly makes outbound requests): checked the README, compose file and wiki pages for reverse proxy, password and Playwright. (docs)
- A workspace has one preview URL and one custom domain, both serving the same port, so it puts one app on a public address at a time.
Without a workspace
The manual route, on a server you run:
- Rent a Linux VPS, secure SSH, and create a user for the app.
- Install Docker and write a compose file from the official image.
- Put a reverse proxy in front (Caddy, nginx or Traefik), get certificates, and point a domain at the server.
- Set the proxy settings listed above for that domain, and pass WebSocket upgrades through the proxy if the app uses them.
- Keep the firewall closed except for the proxy, and schedule backups and updates.
changedetection.io’s own documentation covers each step for its install methods.
Sources
Facts about changedetection.io come from its own documentation, checked on 2026-11-23:
- github.com/dgtlmoon/changedetection.io/blob/0.70.4/README.md
- pypi.org/pypi/changedetection.io/json
- github.com/dgtlmoon/changedetection.io/wiki/Running-changedetection.io-behind-a-reverse-proxy
- github.com/dgtlmoon/changedetection.io/blob/0.70.4/docker-compose.yml
- github.com/dgtlmoon/changedetection.io/wiki/Playwright-content-fetcher
- github.com/dgtlmoon/changedetection.io/wiki/Password-protection