diff options
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: |
