game-village-politics-backend/.env.example

46 lines
1.1 KiB
Plaintext

# Docker (edgerealm) defaults. deploy.sh copies this to .env on the first deploy and
# fills APP_KEY, DB_PASSWORD and PUSHER_APP_SECRET with generated values.
APP_NAME="Village Politics"
APP_ENV=production
APP_KEY=
APP_DEBUG=false
APP_URL=https://server-village.blax.at
APP_LOCALE=en
APP_FALLBACK_LOCALE=en
APP_FAKER_LOCALE=en_US
BCRYPT_ROUNDS=12
LOG_CHANNEL=stderr
LOG_LEVEL=warning
DB_CONNECTION=mysql
DB_HOST=mysql-village
DB_PORT=3306
DB_DATABASE=village
DB_USERNAME=root
DB_PASSWORD=
# API only: bearer tokens, no sessions or queued jobs.
SESSION_DRIVER=array
QUEUE_CONNECTION=sync
BROADCAST_CONNECTION=log
FILESYSTEM_DISK=local
# Shared between the WS server and the game:events worker (socket → user map).
CACHE_STORE=redis
REDIS_CLIENT=phpredis
REDIS_HOST=redis-village
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_MAILER=log
# WS server (blax-software/laravel-websockets). The key is public: the client
# connects to wss://ws-server-village.blax.at/app/<PUSHER_APP_KEY>.
PUSHER_APP_ID=village
PUSHER_APP_KEY=village-politics
PUSHER_APP_SECRET=
PUSHER_PORT=6001