some documentation
All checks were successful
/ test (push) Successful in 15s
/ test2 (push) Successful in 2s

This commit is contained in:
sneakers-the-rat 2024-06-29 02:19:38 -07:00
parent 3738d84250
commit 87f7e3418c
Signed by untrusted user who does not match committer: jonny
GPG key ID: 6DCB96EF1E4D232D

View file

@ -50,3 +50,15 @@ eg, in .runner:
### config.yaml ### config.yaml
Use the one in this repo lol, symlink it into `/home/forgejo-runner` Use the one in this repo lol, symlink it into `/home/forgejo-runner`
## Getting pages working
- Make an nginx static directory site as one usually does, say from some directory `/var/www/pages`
- Map that directory into the top-level docker-compose image
- Edit `config.yaml` to allow for volume mappings
- Add the volume mapping to the default docker container arguments (see `config.yaml`)
- Blammo run a page build like normal and copy your result into that mapped directory.
See https://git.jon-e.net/jonny/test-pages/ for an example