#! /bin/sh image=codeberg.org/forgejo/forgejo:1.21.3-0-rootless [ -f upgrade ] && podman pull $image && rm upgrade me=$(basename $(pwd)) podman rm $me podman run \ --name $me \ --network homelab \ --volume ./gitea-robots.txt:/var/lib/gitea/custom/robots.txt:ro \ --volume ./timezone:/etc/timezone:ro \ --volume /etc/localtime:/etc/localtime:ro \ --volume /srv/sys/gitea/app.ini:/etc/gitea/app.ini \ --volume /srv/sys/gitea:/data \ $image