forked from podkrepi-bg/api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
87 lines (73 loc) · 1.87 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
## 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_BUCKET=campaign-files
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
## 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