forked from Shyam-Chen/Fastify-Starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
env.ts
15 lines (11 loc) · 824 Bytes
/
env.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
export default {
NODE_ENV: process.env.NODE_ENV || 'development',
HOST: process.env.HOST || '127.0.0.1',
PORT: process.env.PORT || 3000,
SITE_URL: process.env.SITE_URL || 'http://127.0.0.1:5173',
MONGODB_URL: process.env.MONGODB_URL || 'mongodb+srv://fastify:[email protected]/mydb?retryWrites=true&w=majority',
REDIS_URL: process.env.REDIS_URL || 'redis://default:nAYvh2M3SVxvYI5I8w3wD8ZY7N0rYR6p@redis-19326.c99.us-east-1-4.ec2.cloud.redislabs.com:19326',
CLOUDINARY_URL: process.env.CLOUDINARY_URL || 'cloudinary://636761771455612:nBBydtdox8huZPXHHsxgKFDkiUU@dfi8gex0k',
SMTP_URL: process.env.SMTP_URL || 'smtp://[email protected]:[email protected]:587?name=example.com',
SECRET_KEY: process.env.SECRET_KEY || 'jbmpHPLoaV8N0nEpuLxlpT95FYakMPiu',
};