-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
67 lines (57 loc) · 2.27 KB
/
docker-compose.yml
File metadata and controls
67 lines (57 loc) · 2.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# =============================================================================
# RClone Manager — Docker Compose
# =============================================================================
# Quick start:
# docker compose up -d
# Open http://localhost:8080
#
# For advanced configuration (auth, TLS, host networking):
# https://hakanismail.info/zarestia/rclone-manager/docs/configuration-headless
# =============================================================================
services:
rclone-manager:
image: ghcr.io/zarestia-dev/rclone-manager:latest
container_name: rclone-manager
restart: unless-stopped
ports:
- "8080:8080"
# Uncomment below if you need OAuth authentication for cloud remotes
# (Google Drive, OneDrive, Dropbox, etc.)
# Alternatively, use 'network_mode: host' — see docs for details.
# - "53682:53682"
volumes:
- rclone-data:/data # App data & rclone binary (auto-downloaded on first run)
- rclone-config:/config # rclone.conf
environment:
# Match these to your host user to avoid permission issues on mounted volumes.
# Run 'id' in your terminal to find your UID/GID.
- PUID=1000
- PGID=1000
# --- Optional: Basic Authentication ---
# Uncomment and fill in to password-protect the web UI.
# Most users behind a reverse proxy (NPM, Traefik) don't need this.
# - RCLONE_MANAGER_USER=admin
# - RCLONE_MANAGER_PASS=changeme
# --- Optional: HTTPS/TLS ---
# Mount your certs and uncomment these to enable HTTPS directly.
# - RCLONE_MANAGER_TLS_CERT=/app/certs/cert.pem
# - RCLONE_MANAGER_TLS_KEY=/app/certs/key.pem
# --- Optional: TLS cert volume ---
# Uncomment if using the TLS options above.
# volumes:
# - ./certs:/app/certs:ro
# --- Optional: Host networking ---
# Uncomment to fix OAuth browser authentication (Google Drive, OneDrive, etc.)
# When enabled, remove the 'ports' section above — it's not needed.
# network_mode: host
healthcheck:
test: ["CMD", "curl", "-sf", "http://localhost:8080/health"]
interval: 30s
timeout: 5s
retries: 3
start_period: 15s
volumes:
rclone-data:
name: rclone-manager-data
rclone-config:
name: rclone-manager-config