initial implementation for joplin

This commit is contained in:
John Lancaster
2024-02-04 11:05:45 -06:00
parent 4a057d050e
commit c4fd2f3623
5 changed files with 65 additions and 2 deletions

26
docker-compose.yml Normal file
View File

@@ -0,0 +1,26 @@
version: '3.9'
services:
autorestic:
image: cupcakearmy/autorestic:latest
env_file:
- .env
volumes:
- .autorestic.yaml:/.autorestic.yaml
- ../:/source:ro
- backups:/backups
- /var/run/docker.sock:/var/run/docker.sock
command: [
"autorestic",
"backup",
"-va",
"-c", "/.autorestic.yaml"
]
volumes:
backups:
driver: local
driver_opts:
type: none
o: bind
device: /mnt/backups