-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathdocker-compose-restore.yml
45 lines (45 loc) · 1.17 KB
/
docker-compose-restore.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
services:
openmrs:
depends_on:
restore:
condition: service_completed_successfully
profiles:
- openmrs-restore
odoo:
depends_on:
restore:
condition: service_completed_successfully
profiles:
- odoo-restore
senaite:
depends_on:
restore:
condition: service_completed_successfully
profiles:
- senaite-restore
keycloak:
depends_on:
restore:
condition: service_completed_successfully
profiles:
- keycloak-restore
backup:
depends_on:
restore:
condition: service_completed_successfully
restore:
image: mekomsolutions/restic-compose-backup-restore
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
# Map local restic repository
- ${BACKUP_PATH:-./restic_data}:/restic_data
environment:
RESTIC_REPOSITORY: ${RESTIC_REPOSITORY}
RESTIC_PASSWORD: ${RESTIC_PASSWORD}
RESTIC_RESTORE_SNAPSHOT: ${RESTIC_RESTORE_SNAPSHOT}
LOG_LEVEL: ${LOG_LEVEL}
AWS_DEFAULT_REGION: ${AWS_DEFAULT_REGION}
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY}
networks:
- ozone