name: borgbackupserver services: bbs: container_name: bbs image: marcpope/borgbackupserver:latest ports: - "${WEB_PORT:-8080}:80" # Web UI - "${SSH_PORT:-2222}:22" # SSH for borg agent connections environment: - APP_URL=${APP_URL:-http://localhost:8080} - SSH_PORT=${SSH_PORT:-2222} - WEB_PORT=${WEB_PORT:-8080} volumes: - bbs-data:/var/bbs restart: unless-stopped logging: driver: json-file options: max-size: "10m" max-file: "3" volumes: bbs-data: driver: local driver_opts: type: "none" o: "bind" device: "/nfs/backups"