mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2024-12-22 08:44:28 +01:00
32 lines
896 B
YAML
32 lines
896 B
YAML
services:
|
|
# Backup
|
|
backup:
|
|
image: mazzolino/restic:latest
|
|
container_name: backup
|
|
profiles:
|
|
- backup
|
|
restart: on-failure:5
|
|
env_file:
|
|
- env/backup.env
|
|
volumes:
|
|
- backup:/mnt/restic
|
|
- caddy_data:/data/caddy_data:ro
|
|
- caddy_config:/data/caddy_config:ro
|
|
# - 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
|
|
networks:
|
|
- infra-network
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
|
|
volumes:
|
|
backup:
|
|
name: backup |