-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.env.example
150 lines (116 loc) · 8.58 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
NODE_ENV=local
LOG_LEVEL=debug
TRANSPORT_TYPE=Redis
TRANSPORT_OPTIONS={"host":"localhost","port":"6379"}
BALANCING_STRATEGY_NAME=RoundRobin
BALANCING_STRATEGY_OPTIONS=
MONGO_HOST=mongo1
MONGO_HOSTS=mongo1,mongo2,mongo3
MONGO_PORT=27017
MONGO_DATABASE=diia-auth-service
MONGO_USER=
MONGO_PASSWORD=
MONGO_REPLICA_SET=diia
MONGO_READ_PREFERENCE=primary
MONGO_INDEXES_SYNC=true
MONGO_INDEXES_EXIT_AFTER_SYNC=false
REDIS_READ_WRITE_OPTIONS={"port":6379}
REDIS_READ_ONLY_OPTIONS={"port":6379}
STORE_READ_WRITE_OPTIONS={"port":6379}
STORE_READ_ONLY_OPTIONS={"port":6379}
RABBIT_HOST=127.0.0.1
RABBIT_PORT=5672
RABBIT_USERNAME=guest
RABBIT_PASSWORD=guest
RABBIT_HEARTBEAT=60
RABBIT_QUEUE_PREFETCH_COUNT=1
EXTERNAL_RABBIT_HOST=127.0.0.1
EXTERNAL_RABBIT_PORT=5672
EXTERNAL_RABBIT_USERNAME=guest
EXTERNAL_RABBIT_PASSWORD=guest
EXTERNAL_RABBIT_HEARTBEAT=60
EXTERNAL_RABBIT_QUEUE_PREFETCH_COUNT=1
EXTERNAL_RABBIT_ASSERT_EXCHANGES=true
HEALTH_CHECK_IS_ENABLED=false
HEALTH_CHECK_IS_PORT=4545
METRICS_MOLECULER_PROMETHEUS_IS_ENABLED=false
METRICS_CUSTOM_DISABLED=true
SENTRY_IS_ENABLED=false
SENTRY_URL=
ZIPKIN_IS_ENABLED=false
ZIPKIN_URL=http://zipkin.stub.url
ZIPKIN_SEND_INTERVAL_SEC=10
SALT=salt
JWE_SECRET_DATA_JWK={"p":"4N6E2rW-RDMjGu3yyyYFQCMU2YRBp7GMIvr7zHk-rNPttWuSj63qpmBPyihGBzwnZrKO1sZOXKskuPIqp2pR-1GrgwhVV03CIFrmLixbWE6MmQR8Yec0tyJN4Ltu501SXdVoR6a6VTw5s671uJH6lS24guRN9Gqf3IRyGJKSY88","kty":"RSA","q":"3ncjDTwnLfKV2hf7QyFFdP-kuhkaMqhSjJ0xEptEyA0nWVsnsP7vleZzZ7r6b8ZPi3pbXfMuW5rXMiiQSy2zI075c4M2aGy-pwBuTtnVc9NEYhnLIAJLfOsSyJojfUU7ZaDzYN7vVTKw8ZxM6CpVQ0DO_Ovlc-2HQxMVpPnwOzc","d":"WvB0ruIjp6E6_qhTtHcrqYtCd7nUrtclIbYfOhygc0-hfKt7YWXksNJTHyFa4zCICd8DIbJkafhSMwrJyJ_zwStyXlbw2ar6tl9XatbsdyU1eMKRiKoCAQyOqShR5qcXRgbM8sOfokp4-HZuvJezibKWmVT0ex9LYr44AhPFWquQUNzis-Daytq5uPGAe92_PwrX0TNWucwEXtksO_lF53eJWK65Xz4iIKSTNbb8KxnoR3nqvTpYkFQdsT6KvnCzQu2F3el1hwm25bYpFVHL4AcBdYE3XDAHPV-j-ffXmvV80O4odQlQwWYOUx6Uqlhb-1L9igfWCl0g9mST6k9w3Q","e":"AQAB","use":"enc","qi":"okTUd98XdKN2PZ93vGsXLcsV_anakdF2K4lxg-_WJ1x34fhXxvyHsBtfJ0M74bWQUJEWXQnB8Hkg-6iRDmVtqK94l0xCGDRzYSE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xXOd6J\neVALycvtoegFxtNFsnHkVC9hVslnggTkmxdcOMczwWK0NQ3MV1iiQyt3K84hXbiJ\npB2H+RVrGL6o1gkXKV+b9Nq2++7R9RHbWzNXX+VhiL25AoHASfg0UHfBKhNd2yYb\nkrYXvQBajSAJcxgMT00WWOH5kTxawG1Qb/XL4gH59QAKzxndCV6newrPOojvCZHR\n5zuTQzyi0zXVbCHpEJcFCBSeq0Pw6no4kUKTlVACDE9T0OSlJzcNnO0kerLNxUyN\nl8kxkouaUAPYtGtNFJ8XDTMWc5oOK1VvH6Jpf9Hlsq7Os7O3oapr2L2O+PkrHKrz\nnsDbweglqMZtpsW3xvDnWKMY7dDSoWYB0UWQr9efZEoG62NnAoHABclcsfOzfkkc\nLdvFnPaz0nFROMOBbWsEck57lvA1wefIHz+bs7hpk6he81NAgwLhqyOBA1Z/LEKk\njo60+hfQ7Rz26J3sevjUoYhR1DVy9H4EIP8WhqOBU6LN63i1BT2GIkCvmN0QIWhA\noiXEqyEqw+/Svuca3czxEkCsyyWTM9mI1ucAzBR4TB6BpdsjN4s6m+qLuT8imBfA\nsKEq3nf3K3fus0G5W/tacqwk3rdRnGrZuG1ajRzGpK/CS43Oju9e\n-----END RSA PRIVATE KEY-----\n"
AUTH_MONOBANK_IS_ENABLED=false
AUTH_MONOBANK_API_TOKEN=test-monobank-token
AUTH_MONOBANK_PRIVATE_KEY_PATH=./secrets/priv-test.key
AUTH_PRIVATBANK_BASE_URL=test.com
AUTH_PRIVATBANK_ACCOUNT=test-account
AUTH_PRIVATBANK_ACCOUNT_SECRET=test-account-secret
JWT_EXPIRES_IN=2h
JWT_REFRESH_EXPIRES_IN=5184000000
JWT_CABINET_REFRESH_EXPIRES_IN=1800000
JWT_PARTNER_REFRESH_EXPIRES_IN=7200000
JWT_ACQUIRER_REFRESH_EXPIRES_IN=7200000
JWT_CABINET_EXPIRES_IN=30m
CABINET_TOKEN_CACHE_DURATION_IN_SEC=1800
TEMPORARY_JWT_EXPIRES_IN=1m
TEMPORARY_JWT_AUDIENCE=
TEMPORARY_JWT_ISSUER=
BANK_ID_IS_ENABLED=true
BANK_ID_ACCESS_CLIENT_ID=BANK_ID_ACCESS_CLIENT_ID
BANK_ID_ACCESS_CLIENT_SECRET=BANK_ID_ACCESS_CLIENT_SECRET
BANK_ID_API_HOST=testid.bank.gov.ua
BANK_ID_API_URL_TOKEN_PATH=/v1/bank/oauth2/token
BANK_ID_API_URL_USER_PATH=/v1/bank/resource/client
BANK_ID_API_URL_AUTH_PATH=/v1/bank/oauth2/authorize
BANK_ID_VERIFY_HTTPS=true
BANK_ID_VERIFY_MEMBER_ID=false
BANK_ID_VERSION=v1
BANK_ID_DATASET=61
TEST_AUTH_BY_ITN_IS_ENABLED=true
INTEGRATION_TIMEOUT_IN_MSEC=10000
EXTERNAL_BUS_TIMEOUT=5000
TOKEN_CACHE_DURATION_IN_SEC=7200
EIS_IS_ENABLED=false
EIS_API_HOST=
EIS_API_PORT=
EIS_AUTH_USERNAME=username
EIS_AUTH_PASSWORD=password
EIS_AGREE_URL=/mvs/pd/agree
EIS_ASYNC_VERIFICATION_IS_ENABLED=true
EIS_ASYNC_VERIFICATION_TIMEOUT_MS=1000
PHOTO_ID_AUTH_REQUEST_EXPIRATION_TIME_MS=600000
PHOTO_ID_AUTH_URL_HOST=https://facerec.stub
NFC_AUTH_URL_HOST=https://nfc.stub
NFC_PHONETIC_EQUALITY_TRASHOLD=0.75
REFRESH_TOKEN_EXPIRATIONS_ARCHIVE_THRESHOLD_MS=7776000000
JOIN_USER_TO_PETITIONS_IS_ENABLED=true
CHECKING_FOR_VALID_ITN_IS_ENABLED=true
AUTH_SCHEMA_IS_CUSTOM_REFRESH_TOKEN_EXPIRATION_ENABLED=false
AUTH_SCHEMA_AUTHORIZATION_TOKEN_PARAMS_CACHE_TTL=60000
AUTH_SCHEMA_CABINET_AUTHORIZATION_TOKEN_PARAMS_CACHE_TTL=60000
AUTH_SCHEMA_CABINET_AUTHORIZATION_NONCE_CACHE_TTL=180000
AUTH_SCHEMA_COMPARING_ITN_IS_ENABLED=true
AUTH_ADMISSION_STEPS_TTL=180000
APPLICATION_STORE_REVIEW_TEST_ITN='0101010101010101'
ENEMY_TRACK_TELEGRAM_BOT_HOST=api.stub.telegram.host
ENEMY_TRACK_TELEGRAM_BOT_AUTH_ID=TELEGRAM_BOT_AUTH_ID
AUTH_METHOD_DIIA_ID_AUTHORIZATION_ACQUIRER_TOKEN=token
AUTH_METHOD_DIIA_ID_AUTHORIZATION_BRANCH_ID=id
AUTH_METHOD_DIIA_ID_AUTHORIZATION_OFFER_ID=id
ERESIDENT_REGISTRY_IS_ENABLED=
ERESIDENT_APPLICANT_EMAIL_OTP_TTL_IN_SEC=3600
ERESIDENT_APPLICANT_OTP_LENGTH=6
ERESIDENT_APPLICANT_TEST_OTP=123456
ERESIDENT_APPLICANT_TEST_EMAIL_REGEXP=test-eresident-applicant-{\d+}@email.c
TRACING_ENABLED=false
GRPC_SERVER_ENABLED=false
GRPC_SERVICES='["ua.gov.diia.auth.AuthService", "ua.gov.diia.auth.AuthServicePrivate"]'
GRPC_SERVER_PORT=5000
GRPC_BANK_ID_CRYPTO_SERVICE_ADDRESS=crypto-grpc:5000
GRPC_CRYPTO_DOC_SERVICE_ADDRESS=crypto-grpc:5000
OPENID_ENABLE_DOCUMENTS_CHECK=true