travail d'un we (j'en ai big marre)
This commit is contained in:
34
final-loop/compose.yml
Normal file
34
final-loop/compose.yml
Normal file
@@ -0,0 +1,34 @@
|
||||
services:
|
||||
librespot:
|
||||
container_name: spotvinyl-client
|
||||
image: giof71/librespot:latest
|
||||
network_mode: host
|
||||
devices:
|
||||
- /dev/snd:/dev/snd
|
||||
environment:
|
||||
- DEVICE=hw:x20,0
|
||||
- BACKEND=alsa
|
||||
- BITRATE=320
|
||||
- INITIAL_VOLUME=100
|
||||
- DEVICE_NAME=spotvinyl
|
||||
- ENABLE_OAUTH=headless # Enables OAuth headless mode
|
||||
- ENABLE_SYSTEM_CACHE=Y # Cache token for persistent login
|
||||
volumes:
|
||||
- ./client-cache:/data/system-cache
|
||||
stdin_open: true
|
||||
tty: true
|
||||
|
||||
spotvinyl:
|
||||
build: .
|
||||
container_name: spotvinyl
|
||||
devices:
|
||||
- /dev/video2
|
||||
volumes:
|
||||
- ./src:/app
|
||||
# - ./spotvinyl-cache
|
||||
working_dir: /app
|
||||
env_file:
|
||||
- .env
|
||||
command: python3 decode_barcode.py
|
||||
ports:
|
||||
- "5000:5000"
|
||||
Reference in New Issue
Block a user