-
Notifications
You must be signed in to change notification settings - Fork 18
/
.env.example
58 lines (47 loc) · 1.25 KB
/
.env.example
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
46
47
48
49
50
51
52
53
54
55
56
57
58
SERVER_PORT=1776
ROUTE_GLOBAL_PREFIX=/api
JWT_SECRET=justanotherworld
JWT_EXPIRATION_TIME=2h
JWT_REFRESH_TOKEN_SECRET=someothersecret
JWT_REFRESH_TOKEN_EXPIRATION_TIME=30d
# Typeorm
TYPEORM_CONNECTION = postgres
TYPEORM_HOST = postgres
TYPEORM_USERNAME = postgres
TYPEORM_PASSWORD = postgres
TYPEORM_DATABASE = test_db
TYPEORM_PORT = 5432
TYPEORM_ENTITIES = [src/modules/**/*.entity.ts]
# For run migration cli
TYPEORM_MIGRATIONS=[src/common/migrations/**/*.ts]
TYPEORM_MIGRATIONS_DIR=src/common/migrations
# AWS
AWS_REGION=eu-west-3
AWS_ACCESS_KEY_ID=*******
AWS_SECRET_ACCESS_KEY=*******
AWS_PUBLIC_BUCKET_NAME=public-name-bucket
AWS_PRIVATE_BUCKET_NAME=nestjs-series-private-bucket
# Elasticsearch
ELASTICSEARCH_NODE=http://localhost:9200
ELASTICSEARCH_USERNAME=elastic
ELASTICSEARCH_PASSWORD=admin
# RabbitMQ
RABBITMQ_USER=admin
RABBITMQ_PASSWORD=admin
RABBITMQ_HOST=rabbitmq:5672
RABBITMQ_QUEUE_NAME=email-subscribers
# GRPC
GRPC_CONNECTION_URL=localhost:6001
# Redis
# Host: 'redis' from docker-compose
# REDIS_HOST=localhost if using redis local
REDIS_HOST=redis
REDIS_PORT=6379
# Cron jobs, nodemailer
EMAIL_SERVICE=gmail
EMAIL_PASSWORD=...
# FB login
FB_APP_ID=...
FB_APP_SECRET=...
FB_CALLBACK_URL=.../facebook/redirect