add some examples for my github user

This commit is contained in:
Simon Gregor Ebner 2025-02-25 22:18:12 +01:00
parent fdb397381a
commit d245a4cf9f

View File

@ -58,6 +58,9 @@ If you build/use the docker container you can run it like this:
```bash ```bash
# Create a Caddyfile (configuration file) first ! # Create a Caddyfile (configuration file) first !
docker run -v $(pwd)/Caddyfile:/etc/caddy/Caddyfile -p 8080:8080 gitea-pages docker run -v $(pwd)/Caddyfile:/etc/caddy/Caddyfile -p 8080:8080 gitea-pages
# run the image hosted with this github user
docker run -v $(pwd)/Caddyfile:/etc/caddy/Caddyfile -p 8080:8080 ghcr.io/simongregorebner/gitea-pages:0.0.1
``` ```
## Configuration ## Configuration
@ -133,6 +136,9 @@ docker build -t gitea-pages .
# cross platform build # cross platform build
docker build --platform=linux/amd64 -t gitea-pages . docker build --platform=linux/amd64 -t gitea-pages .
# example build image for this github user
docker build --platform=linux/amd64 -t ghcr.io/simongregorebner/gitea-pages:0.0.1 .
``` ```
## Testing ## Testing