#! /bin/sh image=git.woozle.org/neale/picoshare [ -f upgrade ] && podman pull $image && rm upgrade me=$(basename $(pwd)) podman rm $me podman run \ --name $me \ --network homelab \ --env PS_SHARED_SECRET_FILE=/run/secrets/picoshare \ --volume /srv/sys/picoshare:/data \ --volume /srv/secrets/picoshare:/run/secrets/picoshare \ $image