-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprocess-env.d.ts
More file actions
45 lines (38 loc) · 988 Bytes
/
process-env.d.ts
File metadata and controls
45 lines (38 loc) · 988 Bytes
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
declare namespace NodeJS {
interface ProcessEnv {
// API envs
NODE_ENV: 'development' | 'production' | 'test';
PROTOCOL: 'http' | 'https';
HOST: string;
PORT: number;
LOGGING_LEVEL: 'error' | 'warn' | 'info' | 'verbose' | 'debug';
CORS_WHITE_LIST: string;
JWT_TOKEN: string;
FRONTEND_URL: string;
// Postgres Database envs
POSTGRES_MIGRATION_PATH: string;
POSTGRES_PORT: number;
POSTGRES_USER: string;
POSTGRES_PASSWORD: string;
POSTGRES_DB: string;
POSTRGRES_HOSTNAME: string;
// Mailer envs
MAILHOG_CLIENT_PORT: number;
SMTP_PORT: number;
MAILHOG_HOST: string;
SERVICE_MAIL: string;
VERIFICATION_TOKEN_SECRET: string;
ADMIN_EMAIL: string;
// Storage
S3_ACCESS_KEY: string;
S3_SECRET_KEY: string;
S3_ENDPOINT: string;
S3_BUCKET: string;
// Mongo_db
MONGO_PORT: number;
MONGO_HOST: string;
MONGO_DB: string;
// Redis
REDIS_PORT: number;
}
}