Quick Start
The simplest way to get started with Borg UI is using Docker. This method is ideal for testing or simple deployments.Access the web interface at
http://localhost:8081Default credentials: admin / admin123Port Configuration
By default, Borg UI runs on port 8081. You can change this using thePORT environment variable:
Volume Mounts Explained
Application Data
- SQLite database (
borg.db) - SSH keys
- Borg encryption keys
- Application logs
- Configuration files
- Auto-generated
SECRET_KEY
Borg Cache
Host Filesystem Access
/local inside the container.
Production examples:
When using custom mount paths (not
/local), set the LOCAL_MOUNT_POINTS environment variable to help the UI detect available directories:Timezone Synchronization
Docker Socket (Optional)
Environment Variables
Core Settings
User/Group IDs
Timezone
America/New_YorkAmerica/ChicagoAmerica/Los_AngelesEurope/LondonEurope/ParisAsia/KolkataAsia/Tokyo
Security
Borg Timeouts
For large repositories with long cache build times:Disable Authentication
Complete Example
Production deployment with all recommended settings:Multi-Architecture Support
Borg UI supports the following architectures:amd64(x86_64)arm64(aarch64)armv7(32-bit ARM)
Updating
To update to the latest version:1
Pull the latest image
2
Stop and remove the old container
3
Start with the new image
Run your original
docker run command again. All data is preserved in the volumes.Managing the Container
View logs
Follow logs in real-time
Stop the container
Start the container
Restart the container
Access container shell
Troubleshooting
Permission Issues
If you encounter permission errors accessing host files:-
Check your PUID/PGID match your host user:
-
Verify volume mount permissions:
-
Restart container with correct PUID/PGID:
Port Already in Use
If port 8081 is already in use:Next Steps
Docker Compose
Recommended method for production deployments
Reverse Proxy
Run behind Nginx or Traefik