-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
23 lines (23 loc) · 663 Bytes
/
docker-compose.yml
File metadata and controls
23 lines (23 loc) · 663 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
services:
borgitory:
build: .
cap_add:
- SYS_ADMIN
environment:
- BORGITORY_DEBUG=true
devices:
- /dev/fuse:/dev/fuse:rwm
ports:
- "8000:8000" # HTTP port
- "5678:5678" # Debug port
volumes:
# Persistent data storage
- ./local-data:/app/data
# Borg cache storage
- ./local-cache:/cache:rw
# Mount your backup sources (adjust as needed)
- ./backup-sources:/backup-sources:ro
# Borg repository storage (where backups are stored)
- ./borg-repos:/my-repos:rw
# Development: Live reload source code (comment out for production)
- ./src:/app/src:ro