# 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.
# https://symfony.com/doc/current/configuration/secrets.html
#
# 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

###> demos/demosplan ###
ADDON_REPOSITORY_TOKEN=
APP_TEST_SHARD=test
GITHUB_TOKEN=
OAUTH_KEYCLOAK_CLIENT_ID=keycloak_id
OAUTH_KEYCLOAK_CLIENT_SECRET=keycloak_secret
OAUTH_KEYCLOAK_AUTH_SERVER_URL=localhost
OAUTH_KEYCLOAK_REALM=main
PROCEDURE_METRICS_MAIL=
S3_BUCKET=dplan-files
S3_PREFIX=
S3_REGION=europe-west1
S3_ENDPOINT=
S3_USE_PATH_STYLE_ENDPOINT=true
S3_KEY=
S3_SECRET=
#may be local.storage for files on the same system or s3.storage
FILES_SOURCE=local.storage
PROCEDURE_METRICS_MAIL=
###< demos/demosplan ###

###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=7c3c6ba97270803aa3f2113c25c4984d
###< symfony/framework-bundle ###

###> symfony/mailer ###
# MAILER_DSN=null://null
###< symfony/mailer ###

###> doctrine/doctrine-bundle ###
# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
#
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"
# DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8&charset=utf8mb4"
DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=15&charset=utf8"
###< doctrine/doctrine-bundle ###

###> enqueue/enqueue-bundle ###
ENQUEUE_DSN=null://
###< enqueue/enqueue-bundle ###

###> friendsofsymfony/elastica-bundle ###
ELASTICSEARCH_URL=http://localhost:9200/
###< friendsofsymfony/elastica-bundle ###

###> 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=0699e1b59a14e6fec876c06cb8279190
###< lexik/jwt-authentication-bundle ###

###> php-amqplib/rabbitmq-bundle ###
# You need to define RABBITMQ_DSN in your .env.local
RABBITMQ_DSN=amqp://:@localhost:5672/%2f
###< php-amqplib/rabbitmq-bundle ###

###> sentry/sentry-symfony ###
SENTRY_DSN=
###< sentry/sentry-symfony ###

###> symfony/lock ###
# Choose one of the stores below
# postgresql+advisory://db_user:db_password@localhost/db_name
LOCK_DSN=flock
###< symfony/lock ###
