This commit is contained in:
a 2024-07-25 15:40:43 -05:00
parent abdb76f083
commit 2419a71643
No known key found for this signature in database
GPG key ID: 374BC539FE795AF0
3 changed files with 137 additions and 1 deletions

View file

@ -20,4 +20,13 @@ Your first time, you may be prompted for a password. This is so Caddy can serve
You can then load [https://localhost](https://localhost) (or whatever address you configured) in your browser.
### Docker
You can run rootless with docker with
```
docker stop caddy-website || true && docker rm caddy-website || true
docker run --name caddy-website -it -p 8443:443 -v ./:/wd caddy sh -c "cd /wd && caddy run"
```
This will allow you to connect to https://localhost:8443