-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env
77 lines (65 loc) · 2.95 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# 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.
#
# 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=a28d076165b9920b85ae1a0153c9fb83
#TRUSTED_PROXIES=127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
#TRUSTED_HOSTS='^(localhost|example\.com)$'
###< symfony/framework-bundle ###
###> symfony/mailer ###
MAILER_DSN=smtp://localhost
###< symfony/mailer ###
###> doctrine/doctrine-bundle ###
# Format described at https://www.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 a PostgreSQL database, use: "postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=11&charset=utf8"
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
DATABASE_URL=mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7
###< doctrine/doctrine-bundle ###
CAS_LOGIN_URL="https://etablissement.fr/cas/"
CAS_VALIDATION_URL="https://etablissement.fr/cas/serviceValidate"
CAS_LOGOUT_URL="https://etablissement.fr/cas/logout"
LDAP_URL=ldaps://ldapserver:636
LDAP_BIND_DN="cn=user,ou=foo,dc=bar,dc=fr"
LDAP_BIND_PASSWORD="MySecretPassword"
LDAP_BASE_DN="dc=bar,dc=fr"
LDAP_ADMIN_GROUP_DN="cn=admin_group,ou=groups,dc=uca,dc=fr"
LDAP_BL_GROUP_DN="cn=ent-bl-etu,ou=groups,dc=uca,dc=fr"
# Attribut LDAP correspondant au numéro étudiant
LDAP_CODE="CLFDcodeEtu"
# Clef LDAP correspondant au type d'utilisateur
LDAP_AFFILIATION="eduPersonAffiliation"
# Valeur LDAP correspondant à un étudiant
LDAP_AFFILIATION_STUDENT="student"
ADMIN_UID='["admin","admin1"]'
IS_MAINTENANCE=true|false
MAIL_SENDER="noreply@etablisssement.fr"
MAIL_SUBJECT="Dépôt de document"
OUTPUT_DIR_RN=releves/
OUTPUT_TMP_RN=tmp_rn/
OUTPUT_ETU_RN=etu_rn/
OUTPUT_DIR_ATTEST=attestations/
OUTPUT_TMP_ATTEST=tmp_attest/
OUTPUT_ETU_ATTEST=etu_attest/
# Doit être dans le dossier root de l'application
OUTPUT_TMP_TAMPON=/var/www/html/Document-Scolarite-ENT/public/tampons/
OUTPUT_TMP_PDF=/var/doc-scola/stock/pdf/
DOCAPOST_ENABLE=false
DOCAPOST_PEM_FILE="/path/to/certiificate.pem"
DOCAPOST_PEM_PASSWORD=""
DOCAPOST_URL="https://demo-parapheur.dfast.fr/parapheur-ws/rest/v1/documents/v2/"
DOCAPOST_SIREN=""
DOCAPOST_CIRCUIT_ID=""
PROXY=""