|
| 1 | +# Run mix phx.gen.secret |
| 2 | +# Test value, generate your own for production |
| 3 | +SECRET_KEY_BASE=l/tTJZ4KUNjIfiUsNQDQLWOTgFlyiOz8RQ2EgSRa7mopMzPLJuu7/8s5pA7iiSgO |
| 4 | + |
| 5 | +# Logging Configuration |
| 6 | +# Set the log level for the application |
| 7 | +# Valid values: debug, info, warning, error |
| 8 | +# Default: info (in prod), debug (in dev) |
| 9 | +# LOG_LEVEL=info |
| 10 | + |
| 11 | +# Sentry Error Monitoring |
| 12 | +# SENTRY_DSN=https://your-sentry-dsn-here |
| 13 | +# Set which log levels to send to Sentry (default: error only) |
| 14 | +# Valid values: info, warning, error |
| 15 | +# SENTRY_LOG_LEVEL=error |
| 16 | + |
| 17 | +# Discord OAuth Configuration |
| 18 | +# DISCORD_CLIENT_ID=your_discord_client_id_here |
| 19 | +# DISCORD_CLIENT_SECRET=your_discord_client_secret_here |
| 20 | + |
| 21 | +# Google OAuth Configuration |
| 22 | +# GOOGLE_CLIENT_ID=google_client_id |
| 23 | +# GOOGLE_CLIENT_SECRET=google_secret |
| 24 | + |
| 25 | +# Facebook OAuth Configuration |
| 26 | +# FACEBOOK_CLIENT_ID=facebook_client_id |
| 27 | +# FACEBOOK_CLIENT_SECRET=facebook_secret |
| 28 | + |
| 29 | +# Apple OAuth Configuration |
| 30 | +# APPLE_CLIENT_ID=client_id |
| 31 | +# APPLE_TEAM_ID=team_id |
| 32 | +# APPLE_KEY_ID=key_id |
| 33 | +# APPLE_PRIVATE_KEY="-----BEGIN PRIVATE KEY----- |
| 34 | +# ... |
| 35 | +# -----END PRIVATE KEY-----" |
| 36 | + |
| 37 | +# PostgreSQL Database Configuration (optional) |
| 38 | +# If not set, the app will use SQLite for development |
| 39 | +# POSTGRES_HOST=localhost |
| 40 | +# POSTGRES_PORT=5432 |
| 41 | +# POSTGRES_USER=postgres |
| 42 | +# POSTGRES_PASSWORD=postgres |
| 43 | +# POSTGRES_DB=game_server_dev |
| 44 | + |
| 45 | +# Or use a single DATABASE_URL (takes precedence over individual POSTGRES_* vars) |
| 46 | +# DATABASE_URL=ecto://postgres:postgres@localhost:5432/game_server_dev |
| 47 | + |
| 48 | +# Steam OpenID Configuration |
| 49 | +# STEAM_API_KEY=your_steam_api_key_here |
| 50 | +# STEAM_APP_ID=your_steam_app_id_here |
| 51 | +# When using SQLite in production (or on platforms with a mounted volume), |
| 52 | +# set the path where the app should store the SQLite database file. |
| 53 | +# Example: SQLITE_DATABASE_PATH=/data/game_server_prod.db |
| 54 | +# If not set, the app uses db/game_server_prod.db by default. |
| 55 | +# SQLITE_DATABASE_PATH=/data/game_server_prod.db |
| 56 | + |
| 57 | +# When deploying also set |
| 58 | +# This secret is staged, but not deployed. |
| 59 | +# Run fly deploy from a terminal. |
| 60 | +# PHX_HOST=yourdomain.com |
| 61 | + |
| 62 | +# Path to server hooks file |
| 63 | +HOOKS_FILE_PATH=modules/starter_hook.ex |
| 64 | +# Enable device authentication |
| 65 | +# Easy to get started locally |
| 66 | +DEVICE_AUTH_ENABLED=true |
| 67 | +# Set theme |
| 68 | +# THEME_CONFIG=priv/static/theme/default_config.json |
| 69 | +# Set email |
| 70 | +# SMTP_USERNAME="resend" |
| 71 | +# SMTP_PASSWORD="your_resend_api_key" |
| 72 | +# SMTP_RELAY="smtp.resend.com" |
| 73 | +# SMTP_PORT=465 |
| 74 | +# SMTP_SSL=false |
| 75 | +# SMTP_TLS=false |
| 76 | +# Recommended: configure the sender name and email so providers accept mail |
| 77 | +# (make sure the domain is verified with your provider to avoid errors) |
| 78 | +# SMTP_FROM_NAME="Game Server" |
| 79 | +# SMTP_FROM_EMAIL="no-reply@example.com" |
| 80 | +# If secrets don't deploy to fly, do: |
| 81 | +# fly secrets sync |
| 82 | +# fly secrets deploy |
0 commit comments