mirror of
https://github.com/YunoHost-Apps/aeneria_ynh.git
synced 2024-09-03 18:06:15 +02:00
41 lines
1.6 KiB
Bash
41 lines
1.6 KiB
Bash
###> symfony/framework-bundle ###
|
|
APP_ENV=prod
|
|
APP_SECRET=__DESKEY__
|
|
#TRUSTED_PROXIES=127.0.0.1,127.0.0.2
|
|
#TRUSTED_HOSTS='^localhost|example\.com$'
|
|
###< symfony/framework-bundle ###
|
|
|
|
###> doctrine/doctrine-bundle ###
|
|
# Format described at http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
|
|
# For PostgreSQL database use: "pgsql://[database_user]:[database_password]@127.0.0.1:5432/[database_name]
|
|
# For MySQL database use: "mysql://[database_user]:[database_password]@127.0.0.1:3306/[database_name]
|
|
# For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db"
|
|
# Configure your db driver and server_version in config/packages/doctrine.yaml
|
|
DATABASE_URL=pgsql://__DB_NAME__:__DB_PWD__@localhost:5432/__DB_NAME__
|
|
###< doctrine/doctrine-bundle ###
|
|
|
|
### aeneria features ###
|
|
# Number of places a user can create
|
|
AENERIA_USER_MAX_PLACES=-1
|
|
# Can users share place between them
|
|
AENERIA_USER_CAN_SHARE_PLACE=1
|
|
# Can user fetch data from ui
|
|
AENERIA_USER_CAN_FETCH=1
|
|
# Can user export data from ui
|
|
AENERIA_USER_CAN_EXPORT=1
|
|
# Can user import data from ui
|
|
AENERIA_USER_CAN_IMPORT=1
|
|
# Can a place be public
|
|
AENERIA_PLACE_CAN_BE_PUBLIC=1
|
|
# Activate demo mode
|
|
AENERIA_DEMO_MODE=0
|
|
# Welcome message
|
|
AENERIA_WELCOME_MESSAGE='<h1>Bienvenue sur æneria</h1>'
|
|
|
|
### Enedis Data Hub ###
|
|
ENEDIS_CLIENT_ID=noneed
|
|
ENEDIS_CLIENT_SECRET=noneed
|
|
ENEDIS_REDIRECT_URI=noneed
|
|
ENEDIS_ENDPOINT_AUTH=https://proxy.aeneria.com/enedis-data-connect
|
|
ENEDIS_ENDPOINT_TOKEN=https://proxy.aeneria.com/enedis-data-connect
|
|
ENEDIS_ENDPOINT_DATA=https://gw.prd.api.enedis.fr
|