-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
40 lines (35 loc) · 1.06 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
# Settings for server
# HOST=0.0.0.0 # docker
HOST=localhost
PORT=3000
ENV=development
# Settings for database
DATABASE_TYPE=mysql
DATABASE_HOST=localhost
DATABASE_PORT=3306
DATABASE_USERNAME=root
DATABASE_PASSWORD=
DATABASE_NAME=nest-api
DATABASE_SYNCHRONIZE=true
DATABASE_AUTO_LOAD_ENTITIES=true
DATABASE_LOGGING=false
DATABASE_MIGRATIONS_TABLE_NAME=migrations
DATABASE_MIGRATIONS_RUN=false
# Settings for JWT
JWT_SECRET=@9nRzZm0syRJ!KE6DtWn13NcT6*J!SeZQU@NxU8X^vYDNa1O
JWT_EXPIRES_IN=4h
# Settings for user
USER_DEFAULT_PASSWORD=NestAPI@2023
SUPER_ADMIN_USER_DEFAULT_NAME=Super Admin
SUPER_ADMIN_USER_DEFAULT_PASSWORD=NestAPISuperAdmin@2023
# Settings for cors
CORS_ORIGIN=http://localhost,http://192.168.1.10,http://127.0.0.1:5173
CORS_METHODS=GET,HEAD,PUT,PATCH,POST,DELETE
CORS_OPTIONS_SUCCESS_STATUS=204
CORS_CREDENTIALS=false
CORS_ALLOWED_HEADERS=Origin,X-Requested-With,Content-Type,Accept,Authorization
CORS_MAX_AGE=86400
# Settings for docker-compose
DOCKER_IMAGE_NAME=nest-api-template
DOCKER_IMAGE_TAG=1.0.0