docker-compose.yml 404 B

123456789101112131415
  1. version: '2'
  2. services:
  3. restic:
  4. image: restic/restic
  5. container_name: restic
  6. hostname: restic
  7. restart: on-failure:3
  8. volumes:
  9. - ${RESTIC_BACKUP_SOURCE}:/mnt/source:ro
  10. - ./data/restic:/root/restic:ro
  11. - ./data/cache:/root/.cache/restic
  12. env_file: .env
  13. entrypoint: /root/restic/entry.sh
  14. # For debugging, docker-compose run restic
  15. #entrypoint: /bin/sh