first commit
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
# Required environment variables
|
||||
JWT_SECRET=DEV
|
||||
|
||||
MYSQL_PRIMARY_URL=mysql://userfeedback:userfeedback@localhost:13306/userfeedback # required
|
||||
|
||||
ACCESS_TOKEN_EXPIRED_TIME=10m # default: 10m
|
||||
REFRESH_TOKEN_EXPIRED_TIME=1h # default: 1h
|
||||
|
||||
# ADMIN_WEB_URL=http://localhost:3000
|
||||
|
||||
# Optional environment variables
|
||||
|
||||
# BASE_URL=http://localhost:4000
|
||||
|
||||
# APP_PORT=4000 # default: 4000
|
||||
# APP_ADDRESS=0.0.0.0 # default: 0.0.0.0
|
||||
|
||||
# MYSQL_SECONDARY_URLS= ["mysql://userfeedback:userfeedback@localhost:13306/userfeedback"] # optional
|
||||
|
||||
SMTP_HOST=localhost # required
|
||||
SMTP_PORT=25 # required
|
||||
SMTP_SENDER=user@feedback.com # required
|
||||
# SMTP_USERNAME= # optional
|
||||
# SMTP_PASSWORD= # optional
|
||||
# SMTP_TLS= # default: false
|
||||
# SMTP_CIPHER_SPEC= # default: TLSv1.2 if SMTP_TLS=true
|
||||
# SMTP_OPPORTUNISTIC_TLS= # default: true if SMTP_TLS=true
|
||||
|
||||
# OPENSEARCH_USE=false # default: false
|
||||
# OPENSEARCH_NODE= # required if OPENSEARCH_USE=true
|
||||
# OPENSEARCH_USERNAME= # optional
|
||||
# OPENSEARCH_PASSWORD= # optional
|
||||
|
||||
# AUTO_MIGRATION=true # default: true
|
||||
|
||||
# MASTER_API_KEY= # default: none
|
||||
|
||||
# AUTO_FEEDBACK_DELETION_ENABLED=false # default: false
|
||||
# AUTO_FEEDBACK_DELETION_PERIOD_DAYS=365*5
|
||||
|
||||
# OTEL_EXPORTER_OTLP_LOGS_ENDPOINT=http://localhost:4319/v1/logs
|
||||
# OTEL_RESOURCE_ATTRIBUTES=service.name=abc-user-feedback-api,service.version=1.0.0
|
||||
Reference in New Issue
Block a user