# In all environments, the following files are loaded if they exist,
# the latter taking precedence over the former:
#
#  * .env                contains default values for the environment variables needed by the app
#  * .env.local          uncommitted file with local overrides
#  * .env.$APP_ENV       committed environment-specific defaults
#  * .env.$APP_ENV.local uncommitted environment-specific overrides
#
# Real environment variables win over .env files.
#
# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
#
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration

###> symfony/framework-bundle ###
APP_DEBUG=0
APP_SECRET=6a76497c8658bb23e2236f97a2627df3
###< symfony/framework-bundle ###

###> secret values <###
# > @see doc/env.md
DATABASE_URL=xxx
DATABASE_ADMINASSOS_URL=xxx
DATABASE_AUDIT_URL=xxx
DATABASE_DOLIBARR_URL=xxx
DOLIBARR_API_TOKEN=xxx
MERCURE_JWT_SECRET=xxx
###< secret values ###

###> nelmio/cors-bundle ###
CORS_ALLOW_ORIGIN=^https?://(localhost|127\.0\.0\.1)(:[0-9]+)$
###< nelmio/cors-bundle ###

###> url v2 ###
PUBLIC_API_BASE_URL=https://local.ap2i.opentalent.fr
###

###> lexik/jwt-authentication-bundle ###
JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem
JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem
JWT_PASSPHRASE=opentalent
###< lexik/jwt-authentication-bundle ###

###> opentalent config folder ###
OPENTALENT_CONFIG=/config/opentalent
###< opentalent config folder ###

###> dolibarr client ###
DOLIBARR_API_BASE_URI=https://dev-erp.2iopenservice.com/api/index.php/
###< dolibarr client ###

###> mobyt client ###
MOBYT_API_BASE_URI=https://app.mobyt.fr/API/v1.0/REST/
###< mobyt client ###

###> knplabs/knp-snappy-bundle ###
WKHTMLTOPDF_PATH=/usr/local/bin/wkhtmltopdf
WKHTMLTOIMAGE_PATH=/usr/local/bin/wkhtmltoimage
###< knplabs/knp-snappy-bundle ###

###> symfony/messenger ###
# Choose one of the transports below
# MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
# MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
###< symfony/messenger ###

###> AdminAssos configuration ###
# => defined in the .env.<environment> files
###< AdminAssos configuration ###

###> symfony/lock ###
LOCK_DSN=semaphore
###< symfony/lock ###

###> symfony/mailer ###
MAILER_DSN=smtp://localhost:25?verify_peer=false
###< symfony/mailer ###

###> bindfile populate buffer file
BIND_FILE_BUFFER_FILE=var/subdomain.txt
###< bindfile populate buffer file

###> elasticsearch ###
ELASTICSEARCH_HOST=localhost
ELASTICSEARCH_PORT=9200
###< elasticsearch ###

###> symfony/mercure-bundle ###
# See https://symfony.com/doc/current/mercure.html#configuration
# The URL of the Mercure hub, used by the app to publish updates (can be a local URL)
MERCURE_URL=xxx
# The public URL of the Mercure hub, used by the browser to connect
MERCURE_PUBLIC_URL=xxx
# The secret key used to sign the JWTs
# >> MERCURE_JWT_SECRET, with the secret vars above
###< symfony/mercure-bundle ###

###> typo3 client ###
TYPO3_BASE_URI=http://docker.sub.opentalent.fr
###< typo3 client ###

###> filename log ###
LOG_FILE_NAME=undefined
###< filename log ###

### Internal requests (@see doc/internal_requests.md)
INTERNAL_REQUESTS_TOKEN=sRyfu6SZLR9StpnSKYRdl6i9wr5qs1bJQzro4DUiVyYJ2jknl
INTERNAL_FILES_DOWNLOAD_URI=https://local.api.opentalent.fr/_internal/secure/files
###

###> BlackFire configuration ###
BLACKFIRE_CLIENT_ID=988fcba8-552d-48df-a9c2-035c76535b69
BLACKFIRE_CLIENT_TOKEN=8cfbeb263d044da9678dc2612531504da3790c308da7448e35724a5da91c136f
BLACKFIRE_SERVER_ID=1171e53b-459b-41da-a292-80ff68cee8c2
BLACKFIRE_SERVER_TOKEN=dbd1cfbea015fe83cccfc189a36ca3c16f3a1b43b94f50032a15e41e53548e8b
###< BlackFire configuration ###
