version: '3' services: backup: env_file: - $IMAGES/backup/config.env build: $IMAGES/backup/duplicity command: /bin/sh /backup.sh hostname: backup restart: "no" volumes: - cache:/cache - $IMAGES/backup/gpg_keys:/gpg_keys:ro - git_data:/data/git volumes: cache: # server_git_data: #external: true