Skip to content

Commit a87c02c

Browse files
Merge pull request #34 from tahzeer/1.0
Add example environment configuration file
2 parents dc11b30 + 72c8f03 commit a87c02c

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

iam-staff-portal-api/.env.example

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
IAM_STAFF_AUTH_REDIS_URL=redis://localhost:6379/0
2+
IAM_STAFF_AUTH_TRANSACTION_STORE_BACKEND=redis
3+
4+
IAM_STAFF_DB_DRIVER=postgresql+asyncpg
5+
IAM_STAFF_DB_HOSTNAME=localhost
6+
IAM_STAFF_DB_USERNAME=postgres
7+
IAM_STAFF_DB_PASSWORD=password
8+
IAM_STAFF_DB_DBNAME=iam_staff
9+
IAM_STAFF_DB_PORT=5432
10+
11+
IAM_STAFF_OPENAPI_ROOT_PATH=/
12+
13+
IAM_STAFF_LOGIN_PROVIDERS_TABLE_ENABLED=true
14+
IAM_STAFF_LOGIN_PROVIDERS_TABLE_NAME=login_providers
15+
IAM_STAFF_AUTH_ENABLED=true
16+
IAM_STAFF_AUTH_COOKIE_HTTPONLY=true
17+
IAM_STAFF_AUTH_COOKIE_PATH=/
18+
IAM_STAFF_AUTH_COOKIE_DOMAIN=.example.com
19+
IAM_STAFF_AUTH_COOKIE_MAX_AGE=1800
20+
IAM_STAFF_AUTH_COOKIE_SET_EXPIRES=true

0 commit comments

Comments
 (0)