chatbridge/server/config/custom-environment-variables.ts

34 lines
848 B
TypeScript
Raw Permalink Normal View History

2023-07-25 01:40:22 +00:00
export default {
port: 'PORT',
postgresConfig: {
host: 'POSTGRES_HOST',
port: 'POSTGRES_PORT',
username: 'POSTGRES_USER',
password: 'POSTGRES_PASSWORD',
database: 'POSTGRES_DB',
},
2023-07-25 03:22:48 +00:00
slackConfig: {
client_id: 'SLACK_CLIENT_ID',
client_secret: 'SLACK_CLIENT_SECRET',
2023-07-28 02:35:39 +00:00
signing_secret: 'SLACK_SIGNING_SECRET',
state_secret: 'SLACK_STATE_SECRET'
2023-07-25 03:22:48 +00:00
},
discordConfig: {
token: 'DISCORD_TOKEN',
2023-08-04 02:42:05 +00:00
client_id: "DISCORD_CLIENT_ID",
client_secret: 'DISCORD_CLIENT_SECRET'
},
2023-07-26 06:21:06 +00:00
admin_token: 'ADMIN_TOKEN',
cookies:{
key1: 'COOKIE_KEY_1',
key2: 'COOKIE_KEY_2'
2023-07-27 02:06:38 +00:00
},
matterbridge: {
bin: 'MATTERBRIDGE_BINARY',
config: 'MATTERBRIDGE_CONFIG_DIR'
},
2023-08-04 02:42:05 +00:00
logDir: 'LOG_DIR',
baseURL: 'BASE_URL'
2023-07-27 02:06:38 +00:00
}