-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
107 lines (96 loc) · 1.97 KB
/
.env.example
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
#
# APPLICATION
#
APP_NAME=my-app-name
APP_SCHEMA=http
APP_HOST=localhost
APP_PORT=4000
APP_ROUTE_PREFIX=/api
APP_BANNER=true
#
# CACHE
#
CACHE_CERT_TTL_IN_SECONDS=300
#
# AUTH
#
AUTH_ENABLED=true
AUTH_REALM=CQDG
AUTH_SERVER_URL=https://auth.qa.cqdg.ferlab.bio
AUTH_CLIENT_ID=cqdg-client
AUTH_TEST_CLIENT_SECRET=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
#
# LECTERN
#
LECTERN_SERVER_URL=https://schema.qa.cqdg.ferlab.bio
LECTERN_USERNAME=
LECTERN_PASSWORD=
LECTERN_DICTIONARY_NAME=CQDG Data Dictionary
LECTERN_DEFAULT_LANGUAGE=en
#
# FILE UPLOAD
#
FILE_UPLOAD_MAX_SIZE_MB=50
FILE_UPLOAD_MAX_NB_OF_FILES=11
FILE_UPLOAD_ALLOWED_MIMETYPES=text/tab-separated-values,text/csv
#
# LOGGING
#
LOG_LEVEL=debug
LOG_OUTPUT=dev
#
# PostgreSQL DATABASE
#
TYPEORM_CONNECTION=postgres
TYPEORM_HOST=localhost
TYPEORM_PORT=5432
TYPEORM_USERNAME=username
TYPEORM_PASSWORD=
TYPEORM_DATABASE=my_database
TYPEORM_SYNCHRONIZE=false
TYPEORM_LOGGING=error
TYPEORM_LOGGER=advanced-console
#
# MySQL DATABASE
#
# TYPEORM_CONNECTION=mysql
# TYPEORM_HOST=localhost
# TYPEORM_PORT=3306
# TYPEORM_USERNAME=root
# TYPEORM_PASSWORD=root
# TYPEORM_DATABASE=my_database
# TYPEORM_SYNCHRONIZE=false
# TYPEORM_LOGGING=error
# TYPEORM_LOGGER=advanced-console
#
# PATH STRUCTRUE
#
TYPEORM_MIGRATIONS=src/database/migrations/**/*.ts
TYPEORM_MIGRATIONS_DIR=src/database/migrations
TYPEORM_ENTITIES=src/api/models/**/*.ts
TYPEORM_ENTITIES_DIR=src/api/models
TYPEORM_SEEDING_FACTORIES=src/database/factories/**/*.ts
TYPEORM_SEEDING_SEEDS=src/database/seeds/**/*.ts
CONTROLLERS=src/api/controllers/**/*Controller.ts
MIDDLEWARES=src/api/middlewares/**/*Middleware.ts
INTERCEPTORS=src/api/interceptors/**/*Interceptor.ts
SUBSCRIBERS=src/api/subscribers/**/*Subscriber.ts
RESOLVERS=src/api/resolvers/**/*Resolver.ts
#
# GraphQL
#
GRAPHQL_ENABLED=true
GRAPHQL_ROUTE=/graphql
GRAPHQL_EDITOR=true
#
# Swagger
#
SWAGGER_ENABLED=true
SWAGGER_ROUTE=/swagger
#
# Status Monitor
#
MONITOR_ENABLED=true
MONITOR_ROUTE=/monitor
MONITOR_USERNAME=admin
MONITOR_PASSWORD=1234