-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.sample
75 lines (55 loc) · 2.19 KB
/
.env.sample
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
NODE_ENV=local
##########################################################
API_VERSION=0.1.000
##########################################################
PORT=2345
THIS_BASE_URL=http://localhost:2345
SERVICE_NAME=Workflow-service
USER_ACCESS_TOKEN_SECRET=<your-user-access-token-secret>
CIPHER_SALT=<your-cipher-salt>
HTTP_LOGGING=false
MAX_UPLOAD_FILE_SIZE=104857600 # 100MB
##########################################################
#Database connection details
DB_DIALECT=mysql
DB_USER_NAME=<your-database-username>
DB_USER_PASSWORD=<your-database-password>
DB_NAME=worflow_db
DB_HOST=localhost
DB_PORT=5432
##########################################################
# Bot API details
BOT_API_URL=http://localhost:2323/api/v1
BOT_API_KEY=123456
##########################################################
# File storage Storage related details (e.g. aws s3 bucket)
# STORAGE_BUCKET=<your-bucket> or <your-local-storage-location, e.g. ../storage/>
# STORAGE_BUCKET_ACCESS_KEY_ID=<your-storage-access-key>
# STORAGE_BUCKET_ACCESS_KEY_SECRET=<your-storage-access-secret>
##########################################################
# OpenTelemetry related details
ENABLE_TELEMETRY=true
# ENABLE_TELEMETRY_TRACES=true
# ENABLE_TELEMETRY_METRICS=false
# For any signal type
# OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317 # for gRPC
# or for HTTP -> http://localhost:4318
# Tracing
# OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://localhost:4317 # for gRPC
# or for HTTP -> http://localhost:4318/v1/traces
# or custom endpoint -> https://<custom-endpoint>/v1/traces/
# Metrics
# OTEL_EXPORTER_OTLP_METRICS_ENDPOINT=http://localhost:4317 # for gRPC
# or for HTTP http://localhost:4318/v1/metrics
# or custom endpoint -> https://<custom-endpoint>/v1/metrics/
# Logs
# OTEL_EXPORTER_OTLP_LOGS_ENDPOINT=http://localhost:4317 # for gRPC
# or for HTTP http://localhost:4318/v1/logs
# or custom endpoint -> https://<custom-endpoint>/v1/logs/
# OTEL_EXPORTER_OTLP_HEADERS= # for custom headers
# OTEL_EXPORTER_OTLP_TIMEOUT=10s # for timeout
# OTEL_EXPORTER_OTLP_PROTOCOL=grpc
# grpc to use OTLP/gRPC
# http/protobuf to use OTLP/HTTP + protobuf
# http/json to use OTLP/HTTP + JSON
##########################################################