# This file defines a list of environment variables used to configure the application.
#
# PLEASE DON'T CHANGE THE VALUES OF THIS FILE! They are used as default values.
# Any change in this file would be deleted at the next update.
#
# To configure the application in production, copy the file env.sample as .env.local instead.

####################################
# Configuration of the application #
####################################
APP_ENV="dev"
APP_SECRET=""
APP_BASE_URL=""
APP_NAME="Pollaris"
APP_REQUIRE_EMAILS=false
APP_TIMEZONE=""
APP_SOURCE_URL="https://framagit.org/pollaris/pollaris"
APP_SHARE_DIR=var/share

# Empty preserves upstream's public poll-creation behavior.
POLL_CREATE_TOKEN=""

#################################
# Poll expiration configuration #
#################################
POLL_EXPIRES_COMPLETED=""
POLL_EXPIRES_INCOMPLETE=""

#################################
# Configuration of the database #
#################################
DATABASE_URL=""

########################################
# Configuration of the SMTP mailserver #
########################################
MAILER_DSN="null://null"
MAILER_FROM="noreply@example.com"
MAILER_FROM_NAME="Pollaris admin"

#####################################
# Configuration of the async system #
#####################################
MESSENGER_TRANSPORT_DSN="doctrine://default?auto_setup=0&check_delayed_interval=30000"
CONTACT_ENCRYPTION_KEY=
APP_EMAILS_ENABLED=true
POLL_MAX_LIFETIME_DAYS=0
POLL_MAX_PARTICIPANTS=0
PRIVACY_CONTACT=dpo@etza.eu
TRUSTED_PROXIES=127.0.0.1
