git-pages: static site server for git forges
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-07-30 20:01:18 +00:00
.gitignore Initial setup: docker-compose, config, renovate (#1) 2026-07-21 07:37:59 +00:00
config.toml feat: add max-preview-lifetime and expiration cron (#11) 2026-07-21 19:56:20 +00:00
docker-compose.yml chore(deps): update codeberg.org/git-pages/git-pages:latest docker digest to 4704aee 2026-07-30 20:01:18 +00:00
README.md Initial setup: docker-compose, config, renovate (#1) 2026-07-21 07:37:59 +00:00
renovate.json Initial setup: docker-compose, config, renovate (#1) 2026-07-21 07:37:59 +00:00

dc-git-pages

git-pages: static site server for git forges.

Serves static sites from git branches via pages.martin.md/<user>/<project>/.

Deployment

First-time setup

mkdir -p /srv/docker/volumes/git-pages/{data,config}
cp config.toml /srv/docker/volumes/git-pages/config/

Deploy

Portainer (or docker compose) handles the rest. No .env file is needed — all configuration is in config.toml.

Manual config.toml

The config.toml file is not automatically deployed by Portainer. It must be copied manually to /srv/docker/volumes/git-pages/config/ when changes are made:

cp config.toml /srv/docker/volumes/git-pages/config/

After updating, restart the container:

docker compose restart git-pages