This commit is contained in:
2025-12-02 14:56:45 +01:00
parent a0cb7643ed
commit b0c017ca91
5 changed files with 91 additions and 7 deletions

35
docker-compose.local.yml Normal file
View File

@@ -0,0 +1,35 @@
services:
gluetun:
image: qmcgaw/gluetun
container_name: gluetun
cap_add:
- NET_ADMIN
env_file:
- .env
ports:
- "8002:8080" # Expose tidal-dl-web port via gluetun
restart: always
web:
build: .
container_name: tidal-dl-web
network_mode: "service:gluetun"
volumes:
- ./downloads:/app/downloads
- ./config:/app/config
- ./music:/app/music
# Mount source for development
- ./app:/app/app
command: uvicorn app.main:app --host 0.0.0.0 --port 8080 --reload
environment:
- PYTHONUNBUFFERED=1
- DOWNLOAD_PATH=/app/downloads
- XDG_CONFIG_HOME=/app/config
- ALBUM_DESTINATION_PATH=${ALBUM_DESTINATION_PATH:-}
restart: unless-stopped
depends_on:
gluetun:
condition: service_healthy
networks:
proxy:
external: true