platform-deployments/docker/restic/docker-compose.yml
Quinn Ftw abbef7ae89 refactor: Replace stale infrastructure/ path references after workspace restructure
All references to the old `infrastructure/` directory updated to reflect
the new structure: `deployments/` for configs, `tooling/` for scripts,
`codebase/features/` for services.

- Fix queue-worker.yaml entrypoints (infrastructure/services/ -> codebase/features/)
- Fix .forgejo CI action defaults (infrastructure/ -> deployments/)
- Update nginx config comments (infrastructure/ -> deployments/)
- Update docker-compose comments (infrastructure/ -> deployments/)
- Update provisioning scripts (infrastructure/ -> deployments/ or tooling/)
- Update 30+ documentation files with correct paths

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 00:00:23 -08:00

41 lines
1.1 KiB
YAML

# Restic REST Server - Backup Infrastructure
# Deploys to: 'devops' role (see deployments/hosts/roles.yaml)
# Docs: https://github.com/restic/rest-server
#
# Deployment:
# Part of setup-devops-host.sh
#
# Manual usage:
# scp -r deployments/docker/restic $TARGET:/bigdisk/restic/
# ssh $TARGET "cd /bigdisk/restic && docker-compose up -d"
#
# Access (VPN-only):
# http://10.0.0.11:8000 (restic REST API)
#
# Features:
# - Restic REST server for workstation backups
# - Per-host repositories
# - Repository-level password protection (no HTTP auth)
#
# Workstation backup targets:
# - ~/Code (every 5 minutes)
# - ~/.* dotfiles (every 12 hours)
#
# Retention policy: 7 daily, 4 weekly, 3 monthly backups
services:
restic-server:
image: restic/rest-server:latest
container_name: restic-rest-server
restart: unless-stopped
ports:
- "8000:8000"
volumes:
- /bigdisk/restic-backups:/data
networks:
- restic
command: ["rest-server", "--path", "/data", "--listen", ":8000", "--no-auth"]
networks:
restic:
driver: bridge