This commit is contained in:
ilyastar9999
2025-12-02 14:01:34 +03:00
parent 96e1e5a7e0
commit cffbd77b74
31 changed files with 3335 additions and 0 deletions

30
.env.example Normal file
View File

@@ -0,0 +1,30 @@
# PostgreSQL Database Configuration
POSTGRES_USER=adctrl
POSTGRES_PASSWORD=asdasdasd
POSTGRES_DB=adctrl
# API Secret Token (used for internal service authentication)
SECRET_TOKEN=asdasdasd
# Services Directory (where managed services will be stored)
SERVICES_DIR=./services
# Scoreboard Configuration
SCOREBOARD_WS_URL=ws://10.60.0.1:8080/api/events
OUR_TEAM_ID=1
ALERT_THRESHOLD_POINTS=100
ALERT_THRESHOLD_TIME=300
# Telegram Bot Configuration
TELEGRAM_BOT_TOKEN=8573282525:AAGtevwPELJias_Ywwf4sukFqtxpJ4kjnvo
TELEGRAM_CHAT_ID=-5007474146
# Web Dashboard Configuration
WEB_PASSWORD=admin123
FLASK_SECRET_KEY=change_me_flask_secret_key
# Optional: Override URLs for A/D game setup
BOARD_URL=http://10.60.0.1
TEAM_TOKEN=your_team_token
NUM_TEAMS=10
IP_TEAM_BASE=10.60.