Dynamic language depending on users browserlanguage - Ability to change Language manually
107 lines
2.9 KiB
Plaintext
107 lines
2.9 KiB
Plaintext
APP_NAME=Controlpanel.gg
|
|
APP_ENV=production
|
|
APP_KEY=
|
|
APP_DEBUG=false
|
|
APP_URL=http://localhost
|
|
#list with timezones https://www.php.net/manual/en/timezones.php
|
|
APP_TIMEZONE=UTC
|
|
|
|
# If set to true, Language is chosen automatically depending on the users browserlanguage.
|
|
DYNAMIC_LOCALE = false
|
|
|
|
# The language of the Dashboard. This is also the fallback if dynamic_locale is true but no translation is found
|
|
LOCALE=en
|
|
|
|
# You can grab the Language-Codes for the Datatables from this Website https://datatables.net/plug-ins/i18n/
|
|
DATATABLE_LOCALE=en-gb
|
|
|
|
#The languages you DO NOT want to support on your Controlpanel split by comma.
|
|
#Remove the language to make it available
|
|
UNSUPPORTED_LOCALES=german,italian,chinese
|
|
|
|
DB_CONNECTION=mysql
|
|
DB_HOST=127.0.0.1
|
|
DB_PORT=3306
|
|
DB_DATABASE=dashboard
|
|
DB_USERNAME=dashboarduser
|
|
DB_PASSWORD=
|
|
|
|
#without a pterodactyl api token, this panel won't work!
|
|
PTERODACTYL_TOKEN=
|
|
|
|
#paypal details, you only need sandbox for testing! you can do this by setting the APP_ENV to local
|
|
PAYPAL_SANDBOX_SECRET=
|
|
PAYPAL_SANDBOX_CLIENT_ID=
|
|
PAYPAL_SECRET=
|
|
PAYPAL_CLIENT_ID=
|
|
PAYPAL_EMAIL=
|
|
|
|
|
|
#stripe details, you only need "test" for testing! you can do this by setting the APP_ENV to local
|
|
STRIPE_TEST_SECRET=
|
|
STRIPE_SECRET=
|
|
#https://dashboard.stripe.com/webhooks -> webhook route: <your.controlpanel.gg>/payment/StripeWebhooks
|
|
STRIPE_ENDPOINT_TEST_SECRET=
|
|
STRIPE_ENDPOINT_SECRET=
|
|
#stripe payment methods, comma seperated list of methods you want to support:
|
|
#read into https://stripe.com/docs/payments/payment-methods/integration-options and/or https://stripe.com/docs/payments/payment-methods/overview
|
|
#Method needs to support the currency
|
|
STRIPE_METHODS=
|
|
|
|
#set-up for extra discord verification
|
|
DISCORD_CLIENT_ID=
|
|
DISCORD_CLIENT_SECRET=
|
|
#set-up will join users automaticly to your discord
|
|
DISCORD_BOT_TOKEN=
|
|
DISCORD_GUILD_ID=
|
|
#set-up will give the verified user the given role
|
|
DISCORD_ROLE_ID=
|
|
|
|
#nesseary URL's
|
|
PTERODACTYL_URL=https://panel.controlpanel.gg
|
|
PHPMYADMIN_URL=https://mysql.controlpanel.gg #optional. remove to remove database button
|
|
DISCORD_INVITE_URL=https://discord.gg/vrUYdxG4wZ
|
|
|
|
#GOOGLE RECAPTCHA
|
|
RECAPTCHA_SITE_KEY=6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI
|
|
RECAPTCHA_SECRET_KEY=6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe
|
|
|
|
MAIL_MAILER=smtp
|
|
MAIL_HOST=mailhog
|
|
MAIL_PORT=1025
|
|
MAIL_USERNAME=null
|
|
MAIL_PASSWORD=null
|
|
MAIL_ENCRYPTION=null
|
|
MAIL_FROM_ADDRESS=null
|
|
MAIL_FROM_NAME="${APP_NAME}"
|
|
|
|
|
|
#you can leave everything below the way it is
|
|
LOG_CHANNEL=stack
|
|
LOG_LEVEL=debug
|
|
|
|
BROADCAST_DRIVER=log
|
|
CACHE_DRIVER=file
|
|
QUEUE_CONNECTION=database
|
|
SESSION_DRIVER=file
|
|
SESSION_LIFETIME=120
|
|
|
|
MEMCACHED_HOST=127.0.0.1
|
|
|
|
REDIS_HOST=127.0.0.1
|
|
REDIS_PASSWORD=null
|
|
REDIS_PORT=6379
|
|
|
|
AWS_ACCESS_KEY_ID=
|
|
AWS_SECRET_ACCESS_KEY=
|
|
AWS_DEFAULT_REGION=us-east-1
|
|
AWS_BUCKET=
|
|
|
|
PUSHER_APP_ID=
|
|
PUSHER_APP_KEY=
|
|
PUSHER_APP_SECRET=
|
|
PUSHER_APP_CLUSTER=mt1
|
|
|
|
MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
|
|
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
|