README: the Caddy network on the server is named web

This commit is contained in:
Justin Visser 2026-06-11 15:19:55 +02:00
parent 273ee45272
commit b0bcc7e224

View file

@ -96,17 +96,17 @@ services:
container_name: spreadlab container_name: spreadlab
restart: unless-stopped restart: unless-stopped
networks: networks:
- caddy - web
networks: networks:
caddy: web:
external: true external: true
``` ```
The network name must match the one Caddy actually uses (`docker network The network name must match the one Caddy actually uses (`docker network
ls` on the server). The Caddyfile entry itself is managed by hand on the ls` on the server; here `web`). The Caddyfile entry itself is managed by
server, not in this repo: add a site block for the public hostname that hand on the server, not in this repo: add a site block for the public
reverse-proxies to `spreadlab:8080`, and reload Caddy. hostname that reverse-proxies to `spreadlab:8080`, and reload Caddy.
To run the image anywhere else: `docker run -p 8080:8080 To run the image anywhere else: `docker run -p 8080:8080
ghcr.io/justinzeus/spreadlab:latest`. ghcr.io/justinzeus/spreadlab:latest`.