-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathexample.development.env
More file actions
75 lines (61 loc) · 2.36 KB
/
Copy pathexample.development.env
File metadata and controls
75 lines (61 loc) · 2.36 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
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
#####################################################
# This is example .env file
# To get the project working properly you need to
# populate the environmental variables
# Read more https://www.npmjs.com/package/dotenv
#####################################################
# EAM
EAM_API_URL=*******
EAM_AUTH_USER=*******
EAM_AUTH_PASSWORD=*******
EAM_AUTH_TENANT=*******
EAM_ORGANIZATION_CODE=*******
EAM_ORGANIZATION_NAME=*******
EAM_LOCATION_CODE=*******
EAM_EQUIPMENT_PART_CODE=*******
# Graylog (Uncomment the variables to enable logging locally)
# GRAYLOG_SERVER=it-graylog.esss.lu.se
# GRAYLOG_PORT=12201
# ORCID
# ORCID_TOKEN_URL=https://sandbox.orcid.org/oauth/token
# ORCID_API_URL=https://api.sandbox.orcid.org/v2.1/
# ORCID_CLIENT_ID=app-id
# ORCID_CLIENT_SECRET=secret
# UO_Factory
USER_OFFICE_FACTORY_ENDPOINT=http://localhost:4500/generate
# OAuth
AUTH_DISCOVERY_URL=http://localhost:5000/.well-known/openid-configuration
AUTH_CLIENT_ID=useroffice
AUTH_CLIENT_SECRET=useroffice
# Example oauth using google
# AUTH_DISCOVERY_URL=https://accounts.google.com/.well-known/openid-configuration
# AUTH_CLIENT_ID=123456789-abcdef.apps.googleusercontent.com
# AUTH_CLIENT_SECRET=ABCDEF-0123456789
# Other
NODE_ENV=development
# If DEPENDENCY_CONFIG is not provided the default config is used.
# DEPENDENCY_CONFIG=<e2e|ess|stfc|test>
PING_PUBLIC_CRT=dummypingsecret
DATABASE_URL=postgres://duouser:duopassword@127.0.0.1:5432/duo
BASE_URL=http://localhost:3000
JWT_TOKEN_LIFE=7d
JWT_SECRET=qMyLZALzs229ybdQXNyzYRdju7X784TH
# SPARKPOST_TOKEN=insertokenhere
TZ=Europe/Stockholm
DATE_FORMAT=dd-MM-yyyy
DATE_TIME_FORMAT=dd-MM-yyyy HH:mm
# ROR API URL, used for fetching organization information based on ROR IDs
# ROR_API_URL=https://api.ror.org/organizations
# The email address of the initial user officer.
# INITIAL_USER_OFFICER_EMAIL=
# RABBITMQ_HOSTNAME=localhost
# RABBITMQ_USERNAME=guest
# RABBITMQ_PASSWORD=guest
# Queue name of the core where the messages are received
# RABBITMQ_CORE_QUEUE_NAME=user_office_backend.queue
# Exchange name of the core the messages are sent.
# RABBITMQ_CORE_EXCHANGE_NAME=user_office_backend.fanout
# SINK_EMAIL=sink.email@example.com
# Opentelemetry envs can be found in here https://opentelemetry.io/docs/languages/sdk-configuration/otlp-exporter/
# OTEL_EXPORTER_OTLP_ENDPOINT="http://localhost:4318/v1/traces"
ROR_API_URL=https://api.ror.org/organizations