initial move to resticprofile
This commit is contained in:
16
docker-compose.yml
Normal file
16
docker-compose.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
services:
|
||||
backup:
|
||||
image: creativeprojects/resticprofile
|
||||
entrypoint: '/bin/sh'
|
||||
command:
|
||||
- -c
|
||||
- 'crond && resticprofile-schedule.sh && inotifyd resticprofile-schedule.sh /etc/resticprofile:w'
|
||||
env_file:
|
||||
- .env
|
||||
hostname: ${HOSTNAME}
|
||||
volumes:
|
||||
- ./restic-profile.yaml:/etc/resticprofile/profiles.yaml:ro
|
||||
- ./resticprofile-schedule.sh:/usr/local/bin/resticprofile-schedule.sh:ro
|
||||
- ./key:/etc/resticprofile/key:ro
|
||||
- ${BACKUP_DIR}:${BACKUP_DIR}:ro
|
||||
- ${RESTIC_REPOSITORY}:${RESTIC_REPOSITORY}:rw
|
||||
Reference in New Issue
Block a user