I’m running this setup over a year now with no major issues. So, I think it can be considered good, at least for the homelab use case. Thus, I’m posting compose of my custom app.
networks:
default:
name: pbs
services:
pbs:
# https://github.com/ayufan/pve-backup-server-dockerfiles
# https://hub.docker.com/r/ayufan/proxmox-backup-server/tags
image: ayufan/proxmox-backup-server:${PBS_TAG:-latest}
hostname: pbs-at-truenas
restart: unless-stopped
deploy:
resources:
limits:
cpus: '2.00'
memory: 4G
reservations:
memory: 1G
stop_signal: SIGHUP
tmpfs:
- /run
networks:
- default
ports:
- '8007:8007'
volumes:
- /mnt/poolname/pbs_storage_dataset:/backups
- /mnt/poolname/Docker/Volumes/PBS/pbs_etc:/etc/proxmox-backup
- /mnt/poolname/Docker/Volumes/PBS/pbs_logs:/var/log/proxmox-backup
- /mnt/poolname/Docker/Volumes/PBS/pbs_lib:/var/lib/proxmox-backup
#env_file: pbs.env # hidden `.env` is used instead
environment:
TZ: ${TIMEZONE}
Also, you would need to create .env file for PBS_TAG and TIMEZONE variables.