made a template for the app to be

This commit is contained in:
Valentijn
2026-05-10 11:59:48 +02:00
parent cd4f959723
commit ad34ff36c3
5 changed files with 100 additions and 0 deletions

34
.env.example Normal file
View File

@@ -0,0 +1,34 @@
# ==========================================
# WEB SERVER CONFIGURATIE
# ==========================================
PORT=3000
NODE_ENV=development
SESSION_SECRET=very_long_very_strong_very_secret_secret
# ==========================================
# MINECRAFT & RCON
# ==========================================
MC_HOST=mc.example.com
MC_RCON_PORT=25575
MC_RCON_PASSWORD=your_rcon_password
MC_LOG_PATH=/data/logs/latest.log
# ==========================================
# OAUTH2 CONFIGURATION
# ==========================================
OAUTH_CLIENT_ID=jouw_authentik_client_id
OAUTH_CLIENT_SECRET=jouw_authentik_client_secret
OAUTH_REDIRECT_URI=http://localhost:3000/auth/callback
OAUTH_ISSUER_URL=https://authentik.jouwdomein.nl/application/o/minecraft-panel/
OAUTH_AUTHORIZATION_URL=https://authentik.jouwdomein.nl/application/o/authorize/
OAUTH_TOKEN_URL=https://authentik.jouwdomein.nl/application/o/token/
OAUTH_USERINFO_URL=https://authentik.jouwdomein.nl/application/o/userinfo/
# ==========================================
# DOCKER API
# ==========================================
DOCKER_SOCK=/var/run/docker.sock