-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
35 lines (34 loc) · 1.23 KB
/
docker-compose.yaml
File metadata and controls
35 lines (34 loc) · 1.23 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
services:
cratedigger:
image: ghcr.io/cdeschenes/cratedigger:latest
container_name: cratedigger
restart: unless-stopped
ports:
- "8080:8080"
volumes:
- cratedigger-data:/data
# Mount your local music folder read-only.
# If using Navidrome, you can omit this line.
# - /path/to/your/music:/music:ro
env_file: .env
environment:
# Output paths are pinned inside the /data volume — do not override these in .env
DATA_DIR: /data
HTML_OUT: /data/missing_popular_albums.html
DISCOVER_HTML_OUT: /data/discover_similar_artists.html
JSON_OUT: /data/missing_popular_albums.json
DISCOVER_JSON_OUT: /data/discover_similar_artists.json
CACHE_FILE: /data/.cache/lastfm_top_albums.json
DISCOVER_CACHE_FILE: /data/.cache/similar_artists.json
LOG_FILE: /data/missing_popular_albums.log
DISCOVER_LOG_FILE: /data/discover_similar_artists.log
DISMISSED_FILE: /data/dismissed.json
MUSIC_ROOT: /music
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8080/healthz')"]
interval: 30s
timeout: 10s
retries: 3
start_period: 15s
volumes:
cratedigger-data: