Luigit
repositories / bugabinga.net

bugabinga.net

personal infrastructure for bugabinga!

owned by admin

modules/klops/quadlets/luigit.container

Raw
[Unit]
Description=Luigit public Git web interface
After=network-online.target soft-serve.service luigit-manifest.service
Wants=network-online.target
Requires=luigit-manifest.service

[Container]
ContainerName=luigit
Image=localhost/bugabinga-luigit:1
Network=reverse.network
NoNewPrivileges=true
ReadOnly=true
User=%U:%G
UserNS=keep-id
Volume=/data/vcs/public/repos:/repos:ro,z
Volume=/data/vcs/luigit-manifest:/manifest:ro,z
Volume=/data/vcs/luigit-derived:/derived:rw,z
Environment=LUIGIT_LISTEN=0.0.0.0:8080
Environment=LUIGIT_REPOSITORIES=/repos
Environment=LUIGIT_MANIFEST=/manifest/public.json
Environment=LUIGIT_CLONE_HOST=vcs.bugabinga.net
PidsLimit=128

[Service]
Restart=always
TimeoutStartSec=30
MemoryMax=512M
MemorySwapMax=0

[Install]
WantedBy=default.target