mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2024-12-22 08:44:28 +01:00
35 lines
994 B
YAML
35 lines
994 B
YAML
version: '3.9'
|
|
|
|
services:
|
|
# Backup
|
|
backup:
|
|
image: offen/docker-volume-backup:latest
|
|
container_name: backup
|
|
profiles:
|
|
- backup
|
|
restart: on-failure
|
|
env_file:
|
|
- env/backup.env
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
- backup:/archive
|
|
- caddy_data:/backup/caddy_data:ro
|
|
- caddy_config:/backup/caddy_config:ro
|
|
# - gitea_data:/backup/gitea_data:ro
|
|
# - gitea_config:/backup/gitea_config:ro
|
|
# - wordpress_db:/backup/wordpress_db:ro
|
|
# - wordpress:/backup/wordpress:ro
|
|
# - jellyfin_config:/backup/jellyfin_config:ro
|
|
# - jellyfin_data:/backup/jellyfin_data:ro
|
|
# - jellyfin_cache:/backup/jellyfin_cache:ro
|
|
# - qbittorrent_config:/backup/qbittorrent_config:ro
|
|
# - qbittorrent_data:/backup/qbittorrent_data:ro
|
|
# - uptimekuma_data:/backup/uptimekuma_data:ro
|
|
networks:
|
|
- infra-network
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
|
|
volumes:
|
|
backup:
|
|
name: backup |