feat(backend): add .env support and configuration priority

This commit is contained in:
spinline
2026-02-03 20:58:40 +03:00
parent 9d1aa8f7d2
commit a675203363
4 changed files with 58 additions and 15 deletions

5
backend/.env.example Normal file
View File

@@ -0,0 +1,5 @@
# rTorrent SCGI Socket Path
RTORRENT_SOCKET=/tmp/rtorrent.sock
# Backend Listen Port
PORT=3000