mirror of
https://github.com/offen/docker-volume-backup.git
synced 2024-11-13 02:00:27 +01:00
Frederik Ring
c9ebb9e14e
* Allow mounting of config directory for multiple schedules * Add docs for conf.d feature * Fix behavior on multiple files * Define default case first in entrypoint script
23 lines
541 B
YAML
23 lines
541 B
YAML
version: '3'
|
|
|
|
services:
|
|
backup:
|
|
image: offen/docker-volume-backup:${TEST_VERSION:-canary}
|
|
restart: always
|
|
volumes:
|
|
- ./local:/archive
|
|
- app_data:/backup/app_data:ro
|
|
- ./backup.env:/etc/dockervolumebackup/conf.d/00backup.env
|
|
- ./never.env:/etc/dockervolumebackup/conf.d/10never.env
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
offen:
|
|
image: offen/offen:latest
|
|
labels:
|
|
- docker-volume-backup.stop-during-backup=true
|
|
volumes:
|
|
- app_data:/var/opt/offen
|
|
|
|
volumes:
|
|
app_data:
|