2024-05-05 22:38:14 +02:00
|
|
|
services:
|
|
|
|
# Backup
|
|
|
|
backup:
|
2024-05-18 18:07:56 +02:00
|
|
|
image: mazzolino/restic:latest
|
2024-05-05 22:38:14 +02:00
|
|
|
container_name: backup
|
|
|
|
profiles:
|
|
|
|
- backup
|
2024-05-12 12:00:12 +02:00
|
|
|
restart: on-failure:5
|
2024-05-05 22:38:14 +02:00
|
|
|
env_file:
|
|
|
|
- env/backup.env
|
|
|
|
volumes:
|
2024-05-18 18:07:56 +02:00
|
|
|
- backup:/mnt/restic
|
|
|
|
- caddy_data:/data/caddy_data:ro
|
2024-05-18 18:27:22 +02:00
|
|
|
- caddy_config:/data/caddy_config:ro
|
2024-05-18 18:07:56 +02:00
|
|
|
# - gitea_data:/data/gitea_data:ro
|
|
|
|
# - gitea_config:/data/gitea_config:ro
|
|
|
|
# - wordpress_db:/data/wordpress_db:ro
|
|
|
|
# - wordpress:/data/wordpress:ro
|
|
|
|
# - jellyfin_config:/data/jellyfin_config:ro
|
|
|
|
# - jellyfin_data:/data/jellyfin_data:ro
|
|
|
|
# - jellyfin_cache:/data/jellyfin_cache:ro
|
|
|
|
# - qbittorrent_config:/data/qbittorrent_config:ro
|
|
|
|
# - qbittorrent_data:/data/qbittorrent_data:ro
|
|
|
|
# - uptimekuma_data:/data/uptimekuma_data:ro
|
2024-05-18 18:34:49 +02:00
|
|
|
networks:
|
|
|
|
- infra-network
|
2024-05-05 22:38:14 +02:00
|
|
|
security_opt:
|
|
|
|
- no-new-privileges:true
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
backup:
|
|
|
|
name: backup
|