mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
91 lines
3.8 KiB
Bash
91 lines
3.8 KiB
Bash
# * .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
|
|
|
|
###> symfony/framework-bundle ###
|
|
APP_ENV=prod
|
|
APP_SECRET=!ChangeMeInAppEnv!
|
|
###< symfony/framework-bundle ###
|
|
|
|
## Wopi server for editing documents online
|
|
EDITOR_SERVER=http://collabora:9980
|
|
|
|
# must be manually set in .env.local
|
|
# ADMIN_PASSWORD=
|
|
|
|
###> symfony/mailer ###
|
|
# MAILER_DSN=null://null
|
|
###< symfony/mailer ###
|
|
|
|
|
|
###> 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=sync://
|
|
# MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
|
|
MESSENGER_TRANSPORT_DSN=${RABBITMQ_URL}/%2f
|
|
###< symfony/messenger ###
|
|
|
|
###> 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="postgresql://postgres:postgres@db:5432/postgres?serverVersion=14&charset=utf8"
|
|
###< doctrine/doctrine-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=2a30f6ba26521a2613821da35f28386e
|
|
###< lexik/jwt-authentication-bundle ###
|
|
|
|
###> chill-project/chill-bundles ###
|
|
# Generate a password using `symfony console security:hash-password --empty-salt <password> 'Symfony\Component\Security\Core\User\User'` and paste it into .env.local file
|
|
# ADMIN_PASSWORD=
|
|
# Add a configuration for sending SMS (before calendar appointments, aka "Rendez-vous"). See https://symfony.com/doc/current/notifier.html#sms-channel
|
|
# Configuration for using ovh custom notifier
|
|
# SHORT_MESSAGE_DSN="ovh://user:password@ovh-eu?consumer_key=123456&sender=%2B32475123456&service_name=sms-xx123456-1"
|
|
SHORT_MESSAGE_DSN=null://null
|
|
# Default locale for the project
|
|
LOCALE=fr
|
|
# Those keys are required to configure the access to store documents
|
|
ASYNC_UPLOAD_TEMP_URL_KEY=
|
|
ASYNC_UPLOAD_TEMP_URL_BASE_PATH=
|
|
ASYNC_UPLOAD_TEMP_URL_CONTAINER=
|
|
# Twilio configuration, to check for the existence of phonenumber in a directory (may be deprecated in a near future)
|
|
TWILIO_SID=
|
|
TWILIO_SECRET=
|
|
# Default carrier code will replace all leading zero by an international code. Set here the country as two letters
|
|
DEFAULT_CARRIER_CODE=FR
|
|
# Configuration for the notification emails
|
|
NOTIFICATION_FROM_EMAIL=chill@instance.com
|
|
NOTIFICATION_FROM_NAME=Chill
|
|
# Will set the default host when sending email from command or services (see https://symfony.com/doc/5.x/routing.html#generating-urls-in-commands)
|
|
NOTIFICATION_HOST=my.chill.social
|
|
# Variables for relatorio host, which generates documents
|
|
RELATORIO_HOST=
|
|
RELATORIO_PORT=
|
|
# Address for your collabora server
|
|
#EDITOR_SERVER=https://code.example.com
|
|
EDITOR_SERVER=https://collabora.champs-libres.be
|
|
# center address widget when empty
|
|
ADD_ADDRESS_DEFAULT_COUNTRY=BE
|
|
ADD_ADDRESS_MAP_CENTER_X=50.8443
|
|
ADD_ADDRESS_MAP_CENTER_Y=4.3523
|
|
ADD_ADDRESS_MAP_CENTER_Z=15
|
|
## Redis Cache & redis database
|
|
REDIS_HOST=redis
|
|
REDIS_PORT=6379
|
|
REDIS_URL=redis://${REDIS_HOST}:${REDIS_PORT}
|
|
###< chill-project/chill-bundles ###
|