version: '3' volumes: backup_cache: services: backup: env_file: - $IMAGES/backup/config.env build: $IMAGES/backup/duplicity command: /bin/sh /backup.sh hostname: backup restart: "no" volumes: - backup_cache:/cache - $IMAGES/backup/gpg_keys:/gpg_keys:ro - git_data:/data/git - paste_data:/data/paste - znc_data:/data/znc