|
@@ -7,12 +7,7 @@ services:
|
|
|
# - "8080:8080" # Map port 8080 of the container to 8080 of the host (access via http://localhost:8080)
|
|
# - "8080:8080" # Map port 8080 of the container to 8080 of the host (access via http://localhost:8080)
|
|
|
network_mode: "host" # Use host network for device access
|
|
network_mode: "host" # Use host network for device access
|
|
|
volumes:
|
|
volumes:
|
|
|
- # Mount only persistent data files (not entire app)
|
|
|
|
|
- - ./state.json:/app/state.json
|
|
|
|
|
- - ./playlists.json:/app/playlists.json
|
|
|
|
|
- - ./metadata_cache.json:/app/metadata_cache.json
|
|
|
|
|
- - ./patterns:/app/patterns
|
|
|
|
|
- - ./static/custom:/app/static/custom # Custom logo/branding
|
|
|
|
|
|
|
+ - .:/app # Mount entire app for development
|
|
|
# Mount Docker socket to allow container to restart itself
|
|
# Mount Docker socket to allow container to restart itself
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
# Mount timezone file from host for Still Sands scheduling
|
|
# Mount timezone file from host for Still Sands scheduling
|