You must setup Podman first.

Steps

  1. create rustypaste directory in $HOME/podman
    mkdir -p ~/podman/rustypaste && cd ~/podman/rustypaste
    
  2. copy from compose.yml
    nano compose.yml
    
  3. copy from .env
    nano .env
    
  4. create upload directory and give write access to all.
    mkdir upload && chmod a+w upload
    
  5. 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>