update
This commit is contained in:
35
docker-compose.local.yml
Normal file
35
docker-compose.local.yml
Normal 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
|
||||
Reference in New Issue
Block a user