Files
timebank-cc-public/.env.example
Ronald Huynen 2547717edb Initial commit
2026-03-23 21:37:59 +01:00

143 lines
4.4 KiB
Plaintext

APP_NAME= # "Timebank.cc"
APP_ENV= # "local" # local, development, staging, preprod, production
APP_KEY=
APP_DEBUG= # false
APP_URL= # http://example.org
ASSET_URL= # https://example.org # Prevents front-end errors when not authenticated
IS_DOCKER=false # Set to true when running in Docker containers
# Deployment Configuration (for deploy.sh script)
# These variables make the deploy script universal for any hostname/environment
# Leave blank to use auto-detection based on hostname (backward compatible)
DEPLOY_ENVIRONMENT= # "server" or "local" - auto-detects if not set
DEPLOY_SERVER_TYPE= # "dev" or "prod" - only used when DEPLOY_ENVIRONMENT=server
DEPLOY_APP_DIR= # Path to app directory - defaults: /var/www/timebank_cc_dev (server) or pwd (local)
DEPLOY_WEB_USER= # Web server user - defaults: www-data (server) or current user (local)
DEPLOY_WEB_GROUP= # Web server group - defaults: www-data (server) or current user (local)
DEPLOY_WS_URL= # WebSocket URL - defaults: wss://ws.timebank.cc (server) or ws://localhost:8080 (local)
# Theme Configuration
TIMEBANK_THEME=timebank_cc # Theme options: timebank_cc, uuro, vegetable, yellow
# Platform Configuration
# Set to the name of your platform config file (without .php extension)
# Config files are located in config/ directory (e.g., config/timebank-default.php)
# Examples: timebank-default, timebank-cc, uuro, your-custom-platform
TIMEBANK_CONFIG=timebank-default
# Debugging
LOG_CHANNEL=stack
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL= # debug
# Database
DB_CONNECTION= # mysql
DB_HOST= # 127.0.0.1
DB_PORT= # 3306
DB_DATABASE=
DB_USERNAME=
DB_PASSWORD=
# Optional: MySQL deployment user credentials (for granting/revoking ALTER permission)
# This user must have GRANT privileges on the database
# Can be root or a dedicated deployment user with GRANT privilege
# If not set, deploy.sh will prompt for credentials during deployment
DB_DEPLOY_USERNAME= # Optional: MySQL username with GRANT privilege (defaults to 'root' if prompted)
DB_DEPLOY_PASSWORD= # Optional: MySQL password for deployment user
# Filesystem
FILESYSTEM_DRIVER= # local
# Sessions
SESSION_DRIVER=database
SESSION_LIFETIME=120
SESSION_DOMAIN=
# Cache: Redis
MEMCACHED_HOST=127.0.0.1
CACHE_DRIVER=redis
MEMCACHED_HOST=127.0.0.1
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=
REDIS_PORT=6379
REDIS_CACHE_DB=1
# Queue
QUEUE_CONNECTION=redis
QUEUE_DRIVER=redis
# Search: Elasticsearch
ELASTICSEARCH_HOST=localhost:9200
SCOUT_DRIVER=matchish-elasticsearch
SCOUT_QUEUE=true
# Websockets: Pusher with Reverb host (not the real Pusher websocket service)
# Important: do not use variables for the PUSHER_ keys, it will break the websocket config
BROADCAST_DRIVER=reverb
PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_CLUSTER=
PUSHER_APP_SECRET=
#PUSHER_HOST= # "192.168.0.103" # TODO: remove when serving outside local network!
PUSHER_HOST= # "localhost"
PUSHER_PORT=8080
PUSHER_SCHEME=http
VITE_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
VITE_PUSHER_HOST="${PUSHER_HOST}"
VITE_PUSHER_PORT="${PUSHER_PORT}"
VITE_PUSHER_SCHEME="${PUSHER_SCHEME}"
VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
REVERB_APP_ID="${PUSHER_APP_ID}"
REVERB_APP_KEY="${PUSHER_APP_KEY}"
REVERB_APP_SECRET="${PUSHER_APP_SECRET}"
REVERB_HOST="${PUSHER_HOST}"
REVERB_PORT="${PUSHER_PORT}"
REVERB_SCHEME="${PUSHER_SCHEME}"
VITE_REVERB_APP_KEY="${PUSHER_APP_KEY}"
VITE_REVERB_HOST="${PUSHER_HOST}"
VITE_REVERB_PORT="${PUSHER_PORT}"
VITE_REVERB_SCHEME="${PUSHER_SCHEME}"
MIX_REVERB_APP_KEY="${PUSHER_APP_KEY}"
MIX_REVERB_HOST="${PUSHER_HOST}"
MIX_REVERB_PORT="${PUSHER_PORT}"
MIX_REVERB_SCHEME="${PUSHER_SCHEME}"
MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_HOST="${PUSHER_HOST}"
MIX_PUSHER_PORT="${PUSHER_PORT}"
MIX_PUSHER_SCHEME="${PUSHER_SCHEME}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
# Mail
MAIL_MAILER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS=
MAIL_FROM_NAME="${APP_NAME}"
# Bounce Email Processing (requires IMAP configuration)
BOUNCE_PROCESSING_ENABLED=false # Set to true on production with valid IMAP settings
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=
AWS_USE_PATH_STYLE_ENDPOINT=false
# Location lookup services
LOCATION_TESTING=false
# Activity Logger
ACTIVITY_LOGGER_ENABLED=true
# Laravel Debugbar
DEBUGBAR_ENABLED=true