generated from 47ng/typescript-library-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.env.example
72 lines (49 loc) · 2.22 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
# Read more: https://github.com/47ng/fastify-micro#environment-variables
# -- Required environment variables --
## Set NODE_ENV to one of: development, production
## The app will not start if it is not set.
NODE_ENV=development
# -- Optional environment variables (values are defaults) --
## The listening port to use for the server.
## This will be used only if the `port` argument is omitted when
## calling `startServer`.
PORT=
## Points to the git SHA-1 of the current revision
## Note: only the first 8 characters will be sent in the logs
## under the `commit` key.
COMMIT_ID=
## Refers to an identifier for the machine that runs the code in production.
## Note: only the first 8 characters will be sent in the logs and to Sentry,
## under the `instance` key.
INSTANCE_ID=
## The level of logs to output, passed to Pino.
## Note: if unspecified, is equal to 'info', unless the DEBUG environment
## variable is set to true, in which case it will be 'debug'.
LOG_LEVEL=info
## Print more debugging info
## This switches the log level to 'debug' if LOG_LEVEL is not set.
DEBUG=
## Pin the fingerprinting salt to match across instances/reboots
## If not set, the salt is randomly generated every time the app is created,
## /!\ This will reduce the privacy of your users, don't be evil (for real).
## Read more: https://github.com/47ng/fastify-micro#anonymising-request-id-fingerprints
LOG_FINGERPRINT_SALT=
## Enable Sentry by passing a DSN
SENTRY_DSN=
## The Sentry release to use when reporting errors
## This can also be set programmatically under options.sentry.release,
## in which case it takes precedence over the environment variable.
## Read more: https://github.com/47ng/fastify-micro#sentry
SENTRY_RELEASE=
## If defined, will be passed to `trustProxy` in the server options.
## Read more: https://www.fastify.io/docs/latest/Server/#trustproxy
##
## Note: if you need to use a function, pass it explicitly in the options
## (the environment variable value will be ignored):
## ```
## createServer({ trustProxy: () => true })
## ```
TRUSTED_PROXY_IPS=
## Set to true to disable the underPressure plugin for service health monitoring.
## This can be useful for tests and CI environments.
FASTIFY_MICRO_DISABLE_SERVICE_HEALTH_MONITORING=