From 87f7e3418c43ce5224ee2ff2d76408dfc88323db Mon Sep 17 00:00:00 2001 From: sneakers-the-rat Date: Sat, 29 Jun 2024 02:19:38 -0700 Subject: [PATCH] some documentation --- forgejo/runner/readme.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/forgejo/runner/readme.md b/forgejo/runner/readme.md index 66224bd..2749f35 100644 --- a/forgejo/runner/readme.md +++ b/forgejo/runner/readme.md @@ -50,3 +50,15 @@ eg, in .runner: ### config.yaml 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