This repository has been archived by the owner on Apr 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.env
32 lines (29 loc) · 1.4 KB
/
.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# This file defines all environment variables that the application needs.
# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE.
# Use ".env.local" for local overrides during development.
# Use real environment variables when deploying to production.
# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration
###> symfony/framework-bundle ###
APP_ENV=prod
APP_SECRET=app_secret_you_should_change_this_value
#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 an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db"
# For PostgreSQL database use: "pgsql://[database_user]:[database_password]@127.0.0.1:5432/[database_name]
# Configure your db driver and server_version in config/packages/doctrine.yaml
DATABASE_URL=mysql://[database_user]:[database_password]@127.0.0.1:3306/[database_name]
###< doctrine/doctrine-bundle ###
#### Pilea parameters ###
# Number of places a user can create
PILEA_USER_MAX_PLACES=-1
# Can users share place between them
PILEA_USER_CAN_SHARE_PLACE=1
# Can user fetch data from ui
PILEA_USER_CAN_FETCH=1
# Can user export data from ui
PILEA_USER_CAN_EXPORT=1
# Can a place be public
PILEA_PLACE_CAN_BE_PUBLIC=1