diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-17 13:45:29 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-17 13:47:36 +0200 |
| commit | 0d132c8523d038c26b180ccdc901f5b778ca5d0e (patch) | |
| tree | c4a7186a98294a61857b04acbff45497df5d5f7a /README.md | |
| parent | 5384d0431af2242a13553da7456677238b3726a7 (diff) | |
remove deploy specificsmain
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 20 |
1 files changed, 1 insertions, 19 deletions
@@ -30,23 +30,6 @@ Removes the gallery from the config and deletes its folder (photos + thumbnails) ./gallery serve [--addr :8080] [--data ./gallery-data] ``` -### Caddy reverse proxy - -```caddy -{ - supervisor { - ./gallery serve --addr :8020 --data ./gallery-data { - dir /home/ubuntu - restart_policy always - } - } -} - -pics.example.com { - reverse_proxy localhost:8020 -} -``` - ## Test ```sh @@ -57,8 +40,7 @@ go test ./... The VPS runs the gallery as a Docker Compose service behind Caddy at `https://pics.kagamino.dev`. The replacement service starts with a fresh local -`./gallery-data` folder next to the VPS Compose file; the former systemd data is -archived separately and is not imported. +`./gallery-data` folder next to the VPS Compose file. Authenticate the local and VPS Docker clients once, then deploy with: |
