-
Notifications
You must be signed in to change notification settings - Fork 0
/
app-sample.env
70 lines (66 loc) · 1.74 KB
/
app-sample.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
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
# server #
SERVER_PORT=8005
SERVER_SECRET="mySecretKey"
SERVER_ACCESSTOKENEXPIREDURATION=2
REQUEST_PER_SECOND=6
TRUSTED_PROXIES=["192.168.0.1", "192.168.0.2"]
EXEMPT_FROM_THROTTLE=["127.0.0.1", "192.168.0.2", "::1"]
METRICS_SERVER_PORT=8030
# App #
APP_NAME=sandbox
APP_KEY="vesicash-app-key-same-for-all-apps"
APP_MODE=debug
# Databases #
DB_HOST=localhost
DB_PORT="5432"
DB_CONNECTION=pgsql
TIMEZONE=Africa/Lagos
SSLMODE=disable
USERNAME=postgres
PASSWORD=password
ADMIN_DB=admin
AUTH_DB=auth
NOTIFICATIONS_DB=notifications
PAYMENT_DB=payment
REMINDERS_DB=reminder
SUBSCRIPTIONS_DB=subscription
TRANSACTIONS_DB=transaction
VERIFICATION_DB=verification
CRON_DB=cron
MIGRATE=false
# Test #
TEST_DB_HOST=localhost
TEST_DB_PORT=5432
TEST_DB_CONNECTION=pgsql
TEST_TIMEZONE=Africa/Lagos
TEST_SSLMODE=disable
TEST_USERNAME=postgres
TEST_PASSWORD="password"
TEST_ADMIN_DB=admin
TEST_AUTH_DB=auth
TEST_NOTIFICATIONS_DB=notifications
TEST_PAYMENT_DB=payment
TEST_REMINDERS_DB=reminder
TEST_SUBSCRIPTIONS_DB=subscription
TEST_TRANSACTIONS_DB=transaction
TEST_VERIFICATION_DB=verification
TEST_CRON_DB=cron
TEST_MIGRATE=true
# Microservices #
MS_ADMIN=localhost:4000/v1/admin
MS_AUTH=http://localhost:8005
MS_BOILERPLATE=localhost:4000/v1/boilerplate
MS_CRON=localhost:4000/v1/cron
MS_FEEDBACK=localhost:4000/v1/feedback
MS_INTERNALDOCS=localhost:4000/v1/internaldocs
MS_NOTIFICATION=http://localhost:8017
MS_PAYMENT=http://localhost:8014
MS_PRODUCTLINK=localhost:4000/v1/productlink
MS_REFERRAL=localhost:4000/v1/referral
MS_REMINDERS=localhost:4000/v1/reminders
MS_ROLES=localhost:4000/v1/roles
MS_SUBSCRIPTION=localhost:4000/v1/subscription
MS_TRANSACTIONS=http://localhost:8013
MS_UPLOAD=http://localhost:8011
MS_VERIFICATION=http://localhost:8006
MS_WIDGET=localhost:4000/v1/widget