README: the Caddy network on the server is named web
This commit is contained in:
parent
273ee45272
commit
b0bcc7e224
1 changed files with 5 additions and 5 deletions
10
README.md
10
README.md
|
|
@ -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`.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue