···01Copyright (C) Catherine 'whitequark'
23Permission to use, copy, modify, and/or distribute this software for
···1+Copyright (C) git-pages contributors
2Copyright (C) Catherine 'whitequark'
34Permission to use, copy, modify, and/or distribute this software for
+4-4
README.md
···26To publish a site, run the following commands:
2728```console
29-$ curl http://localhost:3000/ -X PUT --data https://codeberg.org/whitequark/git-pages.git
30b70644b523c4aaf4efd206a588087a1d406cb047
31```
32···43```console
44$ docker run -u $(id -u):$(id -g)--mount type=bind,src=$(pwd)/data,dst=/app/data \
45 -p 3000:3000 \
46- codeberg.org/whitequark/git-pages:latest
47```
4849To run _git-pages_ with Caddy and use an S3-compatible endpoint to store site data and TLS key material:
···51```console
52$ docker run -e S3_ENDPOINT -e S3_REGION -e S3_ACCESS_KEY_ID -e S3_SECRET_ACCESS_KEY -e S3_BUCKET \
53 -e ACME_EMAIL -p 80:80 -p 443:443 \
54- codeberg.org/whitequark/git-pages:latest supervisord
55```
5657See also the included [configuration](fly.toml) for [Fly.io](https://fly.io).
···122Architecture (v1)
123-----------------
124125-*This was the original architecture and it is no longer used. Migration to v2 was last available in commit [7e9cd17b](https://codeberg.org/whitequark/git-pages/commit/7e9cd17b70717bea2fe240eb6a784cb206243690).*
126127Filesystem is used as the sole mechanism for state storage.
128
···26To publish a site, run the following commands:
2728```console
29+$ curl http://localhost:3000/ -X PUT --data https://codeberg.org/git-pages/git-pages.git
30b70644b523c4aaf4efd206a588087a1d406cb047
31```
32···43```console
44$ docker run -u $(id -u):$(id -g)--mount type=bind,src=$(pwd)/data,dst=/app/data \
45 -p 3000:3000 \
46+ codeberg.org/git-pages/git-pages:latest
47```
4849To run _git-pages_ with Caddy and use an S3-compatible endpoint to store site data and TLS key material:
···51```console
52$ docker run -e S3_ENDPOINT -e S3_REGION -e S3_ACCESS_KEY_ID -e S3_SECRET_ACCESS_KEY -e S3_BUCKET \
53 -e ACME_EMAIL -p 80:80 -p 443:443 \
54+ codeberg.org/git-pages/git-pages:latest supervisord
55```
5657See also the included [configuration](fly.toml) for [Fly.io](https://fly.io).
···122Architecture (v1)
123-----------------
124125+*This was the original architecture and it is no longer used. Migration to v2 was last available in commit [7e9cd17b](https://codeberg.org/git-pages/git-pages/commit/7e9cd17b70717bea2fe240eb6a784cb206243690).*
126127Filesystem is used as the sole mechanism for state storage.
128