untrack sample .env files, add .env.example placeholders
Live .env files (with real OAuth secrets) were tracked. Replaced with .env.example templates. Existing .env files kept on disk so the sample still runs. NOTE: prior history (8c5deb7,88c2860) on gitea/main still contains the leaked GOOGLE_CLIENT_SECRET. Rotate the credential in Google Cloud Console and decide whether to rewrite history. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
# =============================================================================
|
||||
# Sample Soleprint Configuration
|
||||
# =============================================================================
|
||||
|
||||
# =============================================================================
|
||||
# DEPLOYMENT
|
||||
# =============================================================================
|
||||
DEPLOYMENT_NAME=sample_spr
|
||||
|
||||
# =============================================================================
|
||||
# NETWORK
|
||||
# =============================================================================
|
||||
NETWORK_NAME=sample_network
|
||||
|
||||
# =============================================================================
|
||||
# PORTS (unique per room)
|
||||
# =============================================================================
|
||||
SOLEPRINT_PORT=12030
|
||||
NGINX_PORT=8130
|
||||
|
||||
# =============================================================================
|
||||
# GOOGLE OAUTH
|
||||
# =============================================================================
|
||||
GOOGLE_CLIENT_ID=1076380473867-k6gvdg8etujj2e51bqejve78ft99hnqd.apps.googleusercontent.com
|
||||
GOOGLE_CLIENT_SECRET=***REMOVED***
|
||||
GOOGLE_REDIRECT_URI=http://sample.spr.local.ar/artery/google/oauth/callback
|
||||
|
||||
# =============================================================================
|
||||
# AUTH
|
||||
# =============================================================================
|
||||
AUTH_BYPASS=true
|
||||
AUTH_SESSION_SECRET=sample-dev-secret-change-in-production
|
||||
23
cfg/sample/soleprint/.env.example
Normal file
23
cfg/sample/soleprint/.env.example
Normal file
@@ -0,0 +1,23 @@
|
||||
# =============================================================================
|
||||
# Sample Soleprint Configuration — copy to .env and fill in
|
||||
# =============================================================================
|
||||
|
||||
DEPLOYMENT_NAME=sample_spr
|
||||
NETWORK_NAME=sample_network
|
||||
|
||||
# Ports (unique per room)
|
||||
SOLEPRINT_PORT=12030
|
||||
NGINX_PORT=8130
|
||||
|
||||
# =============================================================================
|
||||
# Google OAuth — get values from console.cloud.google.com
|
||||
# =============================================================================
|
||||
GOOGLE_CLIENT_ID=your-client-id.apps.googleusercontent.com
|
||||
GOOGLE_CLIENT_SECRET=your-client-secret
|
||||
GOOGLE_REDIRECT_URI=http://sample.spr.local.ar/artery/google/oauth/callback
|
||||
|
||||
# =============================================================================
|
||||
# Auth
|
||||
# =============================================================================
|
||||
AUTH_BYPASS=true
|
||||
AUTH_SESSION_SECRET=change-me-to-a-long-random-string
|
||||
Reference in New Issue
Block a user