mirror of
https://github.com/swapplications/uhf-server-dist.git
synced 2026-11-04 07:33:50 +00:00
bce5853d533892f09e8fb13641b6d4b4264eea02
UHF Server Docker Setup
This directory contains Docker configuration files to easily run the UHF DVR Server.
Requirements
- Docker and Docker Compose installed on your system
- Sufficient disk space for recordings
Quick Start
- Clone this repository or download these files
- Run the server with default settings:
docker-compose up -d
This will:
- Build the Docker image with all dependencies
- Start the UHF Server on port 8000
- Store recordings in a
./recordingsdirectory
Configuration
You can customize the server by setting environment variables:
# Set custom port and recordings directory
PORT=9000 RECORDINGS_DIR=/path/to/recordings docker-compose up -d
# Add password protection
PORT=8000 RECORDINGS_DIR=/path/to/recordings PASSWORD=mysecretpassword docker-compose up -d
Available Options
PORT: Server port (default: 8000)RECORDINGS_DIR: Path to store recordings (default: ./recordings)PASSWORD: Optional password protection
Logs and Troubleshooting
View logs:
docker-compose logs -f
Stopping the Server
docker-compose down
Languages
Dockerfile
100%