git-pages: static site server for git forges
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .gitignore | ||
| config.toml | ||
| docker-compose.yml | ||
| README.md | ||
| renovate.json | ||
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