-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
64 lines (49 loc) · 2.63 KB
/
Copy pathdocker-compose.yml
File metadata and controls
64 lines (49 loc) · 2.63 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
version: "3.9"
services:
archive-mirror:
build:
context: .
dockerfile: Dockerfile
image: archive-mirror:latest
container_name: archive-mirror
restart: unless-stopped
volumes:
- /volume1/Docker/archive-mirror/music:/data/music
- /volume1/Docker/archive-mirror/state:/data/state
environment:
# ── Collections (comma-separated for multi-collection) ──────────────
COLLECTION: aadamjacobs
# ── Paths ───────────────────────────────────────────────────────────
OUTPUT_DIR: /data/music
STATE_DIR: /data/state
# ── Scheduling ──────────────────────────────────────────────────────
SYNC_INTERVAL: "3600"
# ── Concurrency ─────────────────────────────────────────────────────
CONCURRENCY: "3"
RATE_LIMIT_DELAY: "1.0"
# ── HTTP ────────────────────────────────────────────────────────────
REQUEST_TIMEOUT: "120"
RETRY_COUNT: "5"
# ── Logging ─────────────────────────────────────────────────────────
LOG_LEVEL: INFO
# ── Flags ───────────────────────────────────────────────────────────
DRY_RUN: "false"
CHECKSUM_MANIFEST: "true"
# ── Notifications ───────────────────────────────────────────────────
WEBHOOK_URL: ""
# ── Web UI ──────────────────────────────────────────────────────────
WEB_PORT: "6547"
ports:
- "6547:6547"
# Healthcheck is defined in the Dockerfile (reads WEB_PORT automatically).
# No duplicate definition here.
deploy:
resources:
limits:
cpus: "2.0"
memory: 512M
logging:
driver: json-file
options:
max-size: "50m"
max-file: "5"