-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env
42 lines (33 loc) · 1.14 KB
/
.env
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
# This file contains the environment variables used by the application
# The port where the application will be running
APP_PORT=8000
# Possible environemnts: testing, docker-dev, docker-staging, docker-prod
ENVIRONMENT="testing"
# The first admin user that will be created when the application starts
FIRST_SUPER_ADMIN_USERNAME="super_admin"
FIRST_SUPER_ADMIN_PASSWORD="super_admin"
FIRST_SUPER_ADMIN_EMAIL="[email protected]"
# Comma separated list of origins allowed to make requests to the backend
BACKEND_CORS_ORIGINS="http://localhost,https://localhost"
# Postgres connection variables
POSTGRES_HOST="localhost"
POSTGRES_PORT=5432
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DBNAME=auth_db
POSTGRES_HOST_TEST=localhost
POSTGRES_PORT_TEST=5433
POSTGRES_USER_TEST=postgres
POSTGRES_PASSWORD_TEST=postgres
POSTGRES_DBNAME_TEST=auth_db
MAIL_USERNAME = "[email protected]"
MAIL_PASSWORD = "your_password"
MAIL_FROM = "[email protected]"
MAIL_PORT = 587
MAIL_SERVER = "smtp.example.com"
# Auth service variables
COOKIE_SECRET_KEY="secret_key_123"
JWT_SECRET_KEY="secret_key_123"
JWT_ALGORITHM="HS256"
REDIS_PORT = 6379
REDIS_DB = 0