Add configuration files, database migrations, and authentication implementation scaffolding
This commit is contained in:
28
.env.example
Normal file
28
.env.example
Normal file
@@ -0,0 +1,28 @@
|
||||
# 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
|
||||
|
||||
# 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
|
||||
Reference in New Issue
Block a user