mirror of
https://github.com/YunoHost-Apps/aeneria_ynh.git
synced 2024-09-03 18:06:15 +02:00
* æneria v2 (#44) Let's go to æneria V2 --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update upstream app to v2.1.0 * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
54 lines
1.8 KiB
Bash
54 lines
1.8 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>'
|
|
|
|
# æneria proxy URL (no trailing slash !)
|
|
AENERIA_PROXY_URL=https://proxy.aeneria.com
|
|
# should the app use æneria proxy (1 for yes, 0 for no)
|
|
AENERIA_PROXY_FOR_ENEDIS=1
|
|
AENERIA_PROXY_FOR_GRDF=1
|
|
|
|
# Enedis Data Hub
|
|
ENEDIS_CLIENT_ID=noneed
|
|
ENEDIS_CLIENT_SECRET=noneed
|
|
ENEDIS_REDIRECT_URI=noneed
|
|
ENEDIS_ENDPOINT_AUTH=noneed
|
|
ENEDIS_ENDPOINT_TOKEN=noneed
|
|
ENEDIS_ENDPOINT_DATA=noneed
|
|
|
|
# Grdf adict
|
|
GRDF_CLIENT_ID=noneed
|
|
GRDF_CLIENT_SECRET=noneed
|
|
GRDF_REDIRECT_URI=noneed
|
|
GRDF_ENDPOINT_AUTH=noneed
|
|
GRDF_ENDPOINT_DATA=noneed
|