feat: enhance installation script to include automatic Watchtower setup with customizable interval

This commit is contained in:
Anish Sarkar 2026-02-27 04:41:08 +05:30
parent 48ee5e86aa
commit 4e401fdb92
3 changed files with 68 additions and 16 deletions

View file

@ -85,22 +85,9 @@ Run SurfSense on your own infrastructure for full data control and privacy.
curl -fsSL https://raw.githubusercontent.com/MODSetter/SurfSense/main/docker/scripts/install.sh | bash
```
For Docker Compose and other deployment options, see the [Docker Installation docs](https://www.surfsense.com/docs/docker-installation).
The install script sets up [Watchtower](https://github.com/nicholas-fedor/watchtower) automatically for daily auto-updates. To skip it, add the `--no-watchtower` flag.
**Update (recommended — Watchtower):**
```bash
docker run -d --name watchtower -v /var/run/docker.sock:/var/run/docker.sock nickfedor/watchtower --label-enable --interval 86400
```
**Update (manual):**
```bash
cd surfsense # or SurfSense/docker if you used Option 2
docker compose pull && docker compose up -d
```
For manual installation and other deployment options, check the [docs](https://www.surfsense.com/docs/).
For Docker Compose, manual installation, and other deployment options, see the [docs](https://www.surfsense.com/docs/).
### How to Realtime Collaborate (Beta)