Files
SimpleArmaAdmin/.env.example

32 lines
908 B
Plaintext

# NATS Configuration
NATS_URL=nats://nats:4222
# Database Configuration
DB_URL=postgres://admin:password@postgres-master:5432/master_db?sslmode=disable
TIMESCALE_URL=postgres://admin:password@timescaledb:5432/telemetry_db?sslmode=disable
# Gateway Configuration
GATEWAY_URL=ws://gateway:8080/ws?role=worker
GATEWAY_PUBLIC_URL=http://localhost:8080
# Dev Mode (in-memory store + auto-mock on first server added)
DEV_MODE=true
# Worker Configuration
MOCK_MODE=true
LOG_FILE_PATH=arma_server.rpt
# Discord Bot (Optional)
DISCORD_TOKEN=your-discord-bot-token-here
DISCORD_GUILD_ID=your-discord-server-id
# Frontend Configuration
VITE_GATEWAY_URL=ws://localhost:8080/ws
VITE_API_URL=http://localhost:8080/api
# Security (Production Only)
# MASTER_KEY_SALT=generate-with-openssl-rand-hex-32
# JWT_SECRET=generate-with-openssl-rand-hex-64
# WEBAUTHN_RP_ID=yourdomain.com
# WEBAUTHN_RP_NAME=Your Company Name