2022-12-06 20:40:47 +01:00
|
|
|
version: "2.1"
|
|
|
|
|
|
|
|
services:
|
|
|
|
restic-exporter:
|
|
|
|
image: ngosang/restic-exporter
|
|
|
|
container_name: restic-exporter
|
|
|
|
environment:
|
|
|
|
- TZ=Europe/Madrid
|
2024-01-20 16:00:11 +01:00
|
|
|
- RESTIC_REPOSITORY=/data
|
|
|
|
- RESTIC_PASSWORD=password_here
|
|
|
|
# - RESTIC_PASSWORD_FILE=/file_with_password_here
|
2022-12-06 20:40:47 +01:00
|
|
|
- REFRESH_INTERVAL=1800 # 30 min
|
|
|
|
volumes:
|
|
|
|
- /host_path/restic/data:/data
|
|
|
|
ports:
|
|
|
|
- "8001:8001"
|
|
|
|
restart: unless-stopped
|