2024-05-05 22:38:14 +02:00
|
|
|
services:
|
|
|
|
# Backup
|
|
|
|
backup:
|
|
|
|
image: offen/docker-volume-backup:latest
|
|
|
|
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:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
2024-05-06 00:36:56 +02:00
|
|
|
- backup:/archive
|
2024-05-05 22:38:14 +02:00
|
|
|
- caddy_data:/backup/caddy_data:ro
|
|
|
|
- caddy_config:/backup/caddy_config:ro
|
2024-05-06 00:36:56 +02:00
|
|
|
# - gitea_data:/backup/gitea_data:ro
|
|
|
|
# - gitea_config:/backup/gitea_config:ro
|
2024-05-06 09:47:23 +02:00
|
|
|
# - wordpress_db:/backup/wordpress_db:ro
|
2024-05-06 00:36:56 +02:00
|
|
|
# - 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
|
2024-05-05 22:38:14 +02:00
|
|
|
networks:
|
|
|
|
- infra-network
|
|
|
|
security_opt:
|
|
|
|
- no-new-privileges:true
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
backup:
|
|
|
|
name: backup
|