Add Nginx web server for browsing recordings
Serves the recordings directory over HTTP with autoindex on port 8080. Users can browse by date and play MP3 files natively in the browser. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
## 1. Nginx Configuration
|
||||
|
||||
- [x] 1.1 Create `nginx.conf` with a server block that serves `/recordings` with `autoindex on` and correct MIME type for MP3 files
|
||||
|
||||
## 2. Docker Integration
|
||||
|
||||
- [x] 2.1 Add an `nginx` service to `docker-compose.yml` using `nginx:alpine`, mounting `/home/m/recordings` to `/recordings:ro` and `./nginx.conf` to the Nginx config path, exposing port 8080
|
||||
|
||||
## 3. Deploy and Verify
|
||||
|
||||
- [x] 3.1 Deploy to the Pi and verify directory browsing and MP3 playback work at `http://sdr-pi:8080`
|
||||
Reference in New Issue
Block a user