You must setup Podman first.
Steps
- create rustypaste directory in $HOME/podman
mkdir -p ~/podman/rustypaste && cd ~/podman/rustypaste - copy from compose.yml
nano compose.yml - copy from .env
nano .env - create upload directory and give write access to all.
mkdir upload && chmod a+w upload - start rustpad
podman-compose -f ~/podman/rustypaste/compose.yml systemd -a register systemctl --user enable --now podman-compose@rustypaste
compose.yml
version: "3"
services:
rustpad:
image: docker.io/ekzhang/rustpad:latest
container_name: rustpad
networks:
- traefik
restart: unless-stopped
labels:
- "io.containers.autoupdate=registry"
networks:
traefik:
external: true
.env
AUTH_TOKEN=<token>