forked from podkrepi-bg/api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
109 lines (92 loc) · 2.46 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
## General ##
#############
COMPOSE_PATH_SEPARATOR=":"
COMPOSE_PROJECT_NAME=podkrepi
COMPOSE_FILE=docker-compose.yml
# development, staging, production
APP_ENV=development
# development, production
NODE_ENV=development
# development, builder, production
TARGET_ENV=development
## Services ##
##############
API_PORT=5010
APP_URL=https://dev.podkrepi.bg
APP_URL_LOCAL=http://localhost:3040
## Database ##
##############
DB_HOST=pg-db
DB_USER=postgres
DB_PASS=postgrespass
DB_PORT=5432
DB_NAME=postgres
## Keycloak ##
##############
KEYCLOAK_DB_VENDOR=POSTGRES
KEYCLOAK_DB_USER=keycloak
KEYCLOAK_DB_PASSWORD=keycloak
KEYCLOAK_DB_NAME=keycloak
## Local prisma db url
DATABASE_URL=postgres://postgres:postgrespass@localhost:5432/postgres?schema=api
## S3 ##
########
S3_REGION=us-east-1
S3_ENDPOINT=https://cdn-dev.podkrepi.bg
S3_ACCESS_KEY=s3-access-key
S3_SECRET_ACCESS_KEY=s3-secret-access-key
## Keycloak ##
##############
KEYCLOAK_URL=http://localhost:8180/auth
KEYCLOAK_REALM=webapp
KEYCLOAK_CLIENT_ID=jwt-headless
KEYCLOAK_SECRET=DEV-KEYCLOAK-SECRET
## Keycloak Server ##
#####################
KEYCLOAK_USER=admin
KEYCLOAK_PASSWORD=admin
## Sentry.io ##
###############
SENTRY_DSN=https://[email protected]/5707518
SENTRY_ORG=podkrepibg
SENTRY_PROJECT=rest-api
SENTRY_AUTH_TOKEN=
SENTRY_SERVER_ROOT_DIR=/app
## Sendgrid ##
##############
SENDGRID_API_KEY=sendgrid-key
SENDGRID_CONTACTS_URL=/v3/marketing/contacts
MARKETING_LIST_ID=6add1a52-f74e-4c14-af56-ec7e1d2318f0
SENDGRID_SENDER_ID=
## if marketing notifications should be active --> true/false -> defaults to false
SEND_MARKETING_NOTIFICATIONS=
## Stripe ##
############
STRIPE_SECRET_KEY=stripe-secret-key
STRIPE_WEBHOOK_SECRET=stripe-webhook-secret
## Paypal ##
############
PAYPAL_URL=https://api-m.sandbox.paypal.com
PAYPAL_CLIENT_ID=paypal_client_id
PAYPAL_CLIENT_SECRET=paypal_client_secret
PAYPAL_WEBHOOK_ID=get_it_from_webhook_registration
## Auth ##
##########
JWT_SECRET_KEY=VerySecretPrivateKey
## Iris Bank Imports ##
##########
IRIS_API_URL=https://developer.sandbox.irispay.bg/api/8
IRIS_AGENT_HASH=
IRIS_USER_HASH=
BANK_BIC=UNCRBGSF
PLATFORM_IBAN=
IMPORT_TRX_TASK_INTERVAL_MINUTES=60
#which hour of the day to run the check for consent
CHECK_IRIS_CONSENT_TASK_HOUR=10
CAMPAIGN_ADMIN_MAIL=responsible for campaign management
## Cache ##
##############
CACHE_TTL=30000