Added Daemon system and fixed interface
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
20
daemon/.env.example
Normal file
20
daemon/.env.example
Normal file
@@ -0,0 +1,20 @@
|
||||
# MC Panel Daemon Configuration
|
||||
|
||||
# Уникальный ID демона
|
||||
DAEMON_ID=daemon-1
|
||||
|
||||
# Название демона (отображается в панели)
|
||||
DAEMON_NAME=Main Server
|
||||
|
||||
# Порт, на котором будет работать демон
|
||||
DAEMON_PORT=24444
|
||||
|
||||
# Секретный ключ для аутентификации (должен совпадать с ключом в панели)
|
||||
# Сгенерируйте случайный ключ: python -c "import secrets; print(secrets.token_urlsafe(32))"
|
||||
DAEMON_KEY=your-secret-key-here
|
||||
|
||||
# URL основной панели (для WebSocket подключения, опционально)
|
||||
PANEL_URL=http://your-panel-url:8000
|
||||
|
||||
# Директория для серверов
|
||||
SERVERS_DIR=./servers
|
||||
Reference in New Issue
Block a user