Julien Fastré
adba3b88ae
A new environmental variable, WOPI_SERVER, has been added to the .env file. This addition is related to the configuration of the Collabora Online integration.
81 lines
3.8 KiB
Bash
81 lines
3.8 KiB
Bash
# 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
|
|
|
|
###> symfony/framework-bundle ###
|
|
APP_ENV=dev
|
|
APP_SECRET=607eca0fca7f87a7d2d027d1022c2e89
|
|
###< symfony/framework-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 ###
|
|
|
|
###> symfony/mailer ###
|
|
# MAILER_DSN=null://null
|
|
###< symfony/mailer ###
|
|
|
|
###> 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=d34b3ce91e817838c919e34e028ba6008b66bd7819a3714465861f2e36eade49
|
|
###< lexik/jwt-authentication-bundle ###
|
|
|
|
###> 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=16&charset=utf8"
|
|
###< doctrine/doctrine-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=BE
|
|
# 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
|
|
# Configuration for the component which allow to choose addresses
|
|
ADD_ADDRESS_DEFAULT_COUNTRY=BE
|
|
ADD_ADDRESS_MAP_CENTER_X=4.85719
|
|
ADD_ADDRESS_MAP_CENTER_Y=50.46258
|
|
ADD_ADDRESS_MAP_CENTER_Z=14
|
|
# Variables for relatorio host, which generates documents
|
|
RELATORIO_HOST=
|
|
RELATORIO_PORT=
|
|
WOPI_SERVER=http://${COLLABORA_HOST}:${COLLABORA_PORT}
|
|
###< chill-project/chill-bundles ###
|