Skip to content

Repository files navigation

Saturday

A restful API for nbtca repair service.

Related projects:

Configuration

KeyDescription
DB_DATASOURCEPostgreSQL connection string
ALIYUN_ACCESS_KEY_IDAliyun access key ID
ALIYUN_ACCESS_KEY_SECRETAliyun access key secret
WECHAT_APPIDWeChat app ID
WECHAT_SECRETWeChat secret
MAIL_HOSTSMTP server host
MAIL_PORTSMTP port (e.g., 465)
MAIL_USERNAMESMTP username
MAIL_PASSWORDSMTP password
TESTING_MAIL_RECEIVER_ADDRESSMail receiver used for testing (optional)
LOGTO_APPIDLogto app ID
LOGTO_APP_SECRETLogto app secret
LOGTO_ENDPOINTLogto endpoint URL
TESTING_LOGTO_USER_IDLogto test user ID (optional)
GITHUB_OWNERGitHub repo owner
GITHUB_REPOGitHub repository name
GITHUB_TOKENGitHub personal access token
GITHUB_WEBHOOK_SECRETGitHub webhook signing secret
DIFY_API_ENDPOINTDify API base URL
DIFY_API_KEYDify API key
NSQ_HOSTNSQ daemon host and port
NSQ_SECRETNSQ secret (optional)
NSQ_EVENT_TOPICNSQ event topic name
NSQ_LOG_TOPICNSQ log topic name
SERVER_PORTAPI server listen port

Consul

You can also use consul to manage the configuration. The configuration will be loaded from Consul if the CONSUL_HTTP_ADDR and CONSUL_HTTP_TOKEN are set. The key will be used as the prefix for the configuration keys.

KeyDescription
CONSUL_HTTP_ADDRConsul address
CONSUL_HTTP_TOKENConsul token
CONSUL_KEYConsul key

About

A restful API for repair service

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Packages

Used by

Contributors

Languages