-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
45 lines (41 loc) · 1.87 KB
/
.env.example
File metadata and controls
45 lines (41 loc) · 1.87 KB
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
LABEL_DB_URL=mongodb://localhost:55431/labelDb # to docker use host.docker.internal over localhost
LABEL_DB_NAME=labelDb
LABEL_CLIENT_URL=http://localhost:55432 # do not change to use with docker
LABEL_CLIENT_PORT=55432
LABEL_API_PORT=55430
DBSDER_API_URL=http://localhost:3008 # to docker use host.docker.internal over localhost
DBSDER_API_KEY=3d8767ff-ed2a-47bd-91c2-f5ebac712f2c
NLP_PSEUDONYMISATION_API_URL=http://localhost:8081 # to docker use host.docker.internal over localhost
NLP_PSEUDONYMISATION_API_ENABLED=false # true to use nlp-api
# PROD to use DB:
RUN_MODE=LOCAL
# SSO VARIABLES
COOKIE_PRIVATE_KEY=myPrivateKey
# Service Provider (SP)
SSO_SP_ENTITY_ID=label
SSO_SP_ASSERTION_CONSUMER_SERVICE_LOCATION=http://localhost:55430/label/api/sso/acs
# Identity Provider (IdP)
SSO_IDP_METADATA=sso_files/keycloak-metadata-idp.xml
SSO_IDP_SINGLE_SIGN_ON_SERVICE_LOCATION=http://localhost:8080/realms/label/protocol/saml
SSO_IDP_SINGLE_LOGOUT_SERVICE_LOCATION=http://localhost:8080/realms/label/protocol/saml
SSO_CERTIFICAT=sso_files/keycloak-cert.pem
SSO_SP_PRIVATE_KEY=sso_files/keycloak-private.key
# Les valeurs possibles du SSO_NAME_ID_FORMAT sont le IDP metadata.xml
SSO_NAME_ID_FORMAT=urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress
SSO_SIGNATURE_ALGORITHM="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"
# Authentication
# 518400000 = 6 days
SESSION_DURATION=518400000
# FRONT END
SSO_FRONT_SUCCESS_CONNEXION_ANNOTATOR_URL=http://localhost:55432/label/annotation
SSO_FRONT_SUCCESS_CONNEXION_ADMIN_SCRUTATOR_URL=http://localhost:55432/label/admin/main/summary
SSO_FRONT_SUCCESS_CONNEXION_PUBLICATOR_URL=http://localhost:55432/label/publishable-documents
# ATTRIBUTS KEYS
SSO_ATTRIBUTE_NAME=lastName
SSO_ATTRIBUTE_FIRSTNAME=firstName
SSO_ATTRIBUTE_MAIL=email
SSO_ATTRIBUTE_ROLE=Role
# APPLICATION NAME
SSO_APP_NAME=LABEL
# APPLICATION ROLES
SSO_APP_ROLES=admin,annotator,publicator,scrutator