Skip to content

Commit

Permalink
Update docker-compose, Dockerfile, example_config
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjmetzger committed Dec 10, 2023
1 parent e43fbd5 commit 847e9b9
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN mkdir "/beetseeker"
WORKDIR ["/beetseeker"]

# Clone the GitHub repository
RUN git clone https://github.com/andrewjmetzger/slskd-betanin-connector.git .
RUN git clone https://github.com/andrewjmetzger/beetseeker.git .

# Install project dependencies
RUN pip install --no-cache-dir -r requirements.txt
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,16 @@ username = "betanin"
password = "betanin"

[clients]
api_key = "<generate a random key>"
api_key = ""

[server]
num_parallel_jobs = 1

[notifications.services]

[notifications.strings]
body = "@ $time. view/use the console at http://127.0.0.1:9393/$console_path"
title = "[betanin] torrent `$name` $status"
```

## How does BeetSeeker work??
Expand Down
10 changes: 5 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
version: '3.8'
services:
slskd-betanin-connector:
image: andrewjmetzger/slskd-betanin-connector:latest
container_name: slskd-betanin-connector
beetseeker:
image: ghcr.io/andrewjmetzger/beetseeker:latest
container_name: beetseeker
volumes:
- /path/to/config.py:/app/config.py
- /path/to/config.py:/beetseeker/config.py
ports:
- "8080:8080"
- "8347:8347"
restart: unless-stopped
14 changes: 8 additions & 6 deletions example_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@

# You must customize this file and rename it to config.py

# Path to the 'completed downloads' directory for slskd
DOWNLOADS_DIRECTORY = "/path/to/slskd/completed/downloads"
# The slskd "completed" directory
SLSKD_DOWNLOADS_DIRECTORY = "/data/ddl/music/complete"
# The path BeetSeeker should watch
BETANIN_IMPORT_DIRECTORY = "/downloads"

# URL and API key for slskd
SLSKD_URL = "http://localhost:5000"
SLSKD_API_KEY = "your_slskd_api_key"
SLSKD_URL = "http://localhost:5030"
SLSKD_API_KEY = ""

# URL and API key for betanin
BETANIN_URL = "http://localhost:8000"
BETANIN_API_KEY = "your_betanin_api_key"
BETANIN_URL = "http://localhost:9393"
BETANIN_API_KEY = ""

0 comments on commit 847e9b9

Please sign in to comment.