-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.env.example
40 lines (29 loc) · 2.96 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
DATABASE_HOST=localhost
DATABASE_PORT=5432
DATABASE_USERNAME=postgres
DATABASE_PASSWORD=secret
DATABASE_NAME=postgres
# If certificate is set, it will use ssl for connection. If it's not set, it will set ssl: false.
#DATABASE_CERT="-----BEGIN CERTIFICATE----- ...MAg==-----END CERTIFICATE-----"
REDIS_PASSWORD=redis
NX_REACT_APP_API_URL=http://localhost:3000/api
NODE_ENV=local
# Auth
APP_SECRET="such secret wow"
SESSION_SECRET="even more secretIER! :D"
API_URL=http://localhost:3000
PLATFORM_URL=http://localhost:4200
MAIL_HOST=localhost
MAIL_USER=
MAIL_PASSWORD=
MAIL_PORT=1025
PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----\nMIIEpAIBAAKCAQEA1yiyWJLvq8lDAT95VeESsM0K3oQzvudCXsa5BoAh1kx3KsOI\nRLU62HecJ8cmMZMMa5dQQZWgwHaKkpd7D5SbRMDKFKV0E9lk/ejgPP7kHb/atehf\no74YUag3HNr2JFk+goQFqTc3sMVcOWLVNBUYAfWXY9sof6HjQNJjdSMH5f0NXner\nVEQ41ielKqmLCEhFKkMJSs7CC8QgNEfYNYLTSjlIrfuSuP7YnoeVuiQK1XRa6b4/\nDVEesfXAaXY6T5hW2aDcJaqUB2178X77ntEZPHnnf64Xs/kmG+YAlJl4DrgcXqca\nh54nviUYyvCk+oT/nabt0eymkNHs0asIYKerAwIDAQABAoIBAEWnBxVle/FA1lAx\nHDaRBlv2BO7EHXxPoUzNSFiyYkHdvzY41oRnpwUss4CtF9A0qnCqK3EP31pvBa0v\nHMeOdDVts/27Ejjax7brDKyyV2bKFSOOdmerwnOs4SqWN9jMi0/1LV/6YCz5t0Fc\nnWie64a22quY5yNqZQc3FLt2+7eX+6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6qlDdatCK36PZ95AdA==\n-----END RSA PRIVATE KEY-----\n"
PUBLIC_KEY="-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAx1Rd8e5S1XMvbS/IZ3A1\nQppeuyhmy342fLzgC5NoNHixXt2rrdmKU+NgYtYlG3P+D1ZtI7tteKEc5y79MRAn\nGiOuL1uM+2nsJ4Hwhqbvk9YbPWnkv4pKeRj+rx52MCmgEJHf4R5h4lSDlPkIvaI+\nkdz3y/GFeNsoBIQogx2OWUFU0DhAtZDkScVbh/N/IGfzXkzRvKUhr/zyK5ZFB8tL\nlEmhdVYo13Y1C/DBX2jt4fl6HhwPWIttCU8rEL/tf1gpvvbKfPGljFVihgokkb5d\nIR5HVNwzZIr5rrSyRJV8f4GtQWHbVuPxnKwFspInV6z9xvkmXk0PwxJwAUCbiDWM\npQIDAQAB\n-----END PUBLIC KEY-----\n"
# API
ALLOWED_ORIGINS=http://localhost:3000,http://localhost:4200
PORT=3000
JWT_ACCESS_TOKEN_EXPIRATION_TIME=60
JWT_REFRESH_TOKEN_EXPIRATION_TIME=28800
RESET_PASSWORD_PERIOD=15
JWT_REFRESH_TOKEN_EXPIRATION_TIME="360"