|
|
|
# This file is a "template" of which env vars need to be defined for your application
|
|
|
|
# Copy this file to .env file for development, create environment variables when deploying to production
|
|
|
|
# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration
|
|
|
|
|
|
|
|
###> symfony/framework-bundle ###
|
|
|
|
APP_ENV=prod
|
|
|
|
APP_SECRET=7b95b76ffab0932d7a1753c0475e61bf
|
|
|
|
#TRUSTED_PROXIES=127.0.0.1,127.0.0.2
|
|
|
|
#TRUSTED_HOSTS=localhost,example.com
|
|
|
|
###< symfony/framework-bundle ###
|
|
|
|
|
|
|
|
###> symfony/swiftmailer-bundle ###
|
|
|
|
# For Gmail as a transport, use: "gmail://username:password@localhost"
|
|
|
|
# For a generic SMTP server, use: "smtp://localhost:25?encryption=&auth_mode="
|
|
|
|
# Delivery is disabled by default via "null://localhost"
|
|
|
|
MAILER_URL=null://localhost
|
|
|
|
###< symfony/swiftmailer-bundle ###
|
|
|
|
|
|
|
|
###> doctrine/doctrine-bundle ###
|
|
|
|
# Format described at http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
|
|
|
|
# For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db"
|
|
|
|
# Configure your db driver and server_version in config/packages/doctrine.yaml
|
|
|
|
DATABASE_URL=mysql://db_user:db_password@127.0.0.1:3306/db_name
|
|
|
|
###< doctrine/doctrine-bundle ###
|
|
|
|
|
|
|
|
###> lexik/jwt-authentication-bundle ###
|
|
|
|
# Key paths should be relative to the project directory
|
|
|
|
JWT_PRIVATE_KEY_PATH=config/jwt/private.pem
|
|
|
|
JWT_PUBLIC_KEY_PATH=config/jwt/public.pem
|
|
|
|
JWT_PASSPHRASE=a758fddfbc878122f8b37259b8ea14c3
|
|
|
|
###< lexik/jwt-authentication-bundle ###
|
|
|
|
|
|
|
|
## ReCast Enviroments
|
|
|
|
NGINX_CONFIG_DIR=/opt/nginx-rtmp/conf/
|
|
|
|
APP_HOST="http://recast.in"
|
|
|
|
NGINX_RELOAD_COMMAND="systemctl reload nginx-rtmp"
|
|
|
|
APP_REGISTRATION_ENABLED=false
|