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