-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env_example
72 lines (63 loc) · 1.75 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
[AUTH-PROJECT]
AUTH_PROJECT_NAME = auth
AUTH_PROJECT_HOST = 127.0.0.1
AUTH_PROJECT_PORT = 5000
AUTH_PROJECT_SECRET_KEY = 'secret-key'
AUTH_ADMIN_USERNAME = admin
AUTH_ADMIN_PASSWORD = qwerty_1234
AUTH_ADMIN_EMAIL = [email protected]
RATE_LIMIT_REQ_PER_MIN = 20
[TRACER]
JAEGER_ACTIVATE = True
JAEGER_HOSTNAME = jaeger
JAEGER_PORT = 6831
[AUTH-OAUTH]
AUTH_YANDEX_CLIENT_ID = <UID>
AUTH_YANDEX_CLIENT_SECRET = <UID>
AUTH_YANDEX_REDIRECT_URL = https://127.0.0.1/oauth/yandex/callback
AUTH_GOOGLE_CLIENT_ID = <UID>
AUTH_GOOGLE_CLIENT_SECRET = <UID>
AUTH_GOOGLE_REDIRECT_URL = https://127.0.0.1/oauth/google/callback
[AUTH-REDIS]
AUTH_REDIS_HOST = auth_redis
AUTH_REDIS_PORT = 6379
[AUTH-POSTGRESQL]
AUTH_DB=postgresql
AUTH_POSTGRES_DB=auth_db
AUTH_POSTGRES_DB_HOST=auth_postgres
AUTH_POSTGRES_DB_PORT=5432
AUTH_POSTGRES_PASSWORD=123qwe
AUTH_POSTGRES_USER=app
[UGC-PROJECT]
UGC_PROJECT_NAME = ugc
UGC_PROJECT_PORT = 8010
EXTERNAL_AUTH_HOST = nginx
EXTERNAL_AUTH_PORT = 80
AUTH_LOGIN_URL = http://nginx/users/login
AUTH_SIGNUP_URL = http://nginx:80/users/signup
UGC_URL = http://nginx/ugc/api/v1/views/
UGC_DSC = https://<ingest.sentry.io>/<1234>
UGC_STORAGE_HOST = mongo
UGC_STORAGE_PORT = 27017
UGC_STORAGE_DB = ugc_db
BOOKMARKS_COLLECTION_NAME = movie_bookmarks
REVIEWS_COLLECTION_NAME = movie_reviews
MOVIE_LIKES_COLLECTION_NAME = movie_likes
REVIEW_LIKES_COLLECTION_NAME = review_likes
LOGSTASH_HOST = logstash
LOGSTASH_PORT = 5044
ELASTIC_HOST = elasticsearch
ELASTIC_PORT = 9200
LOG_LEVEL = info
[KAFKA]
UGC_ZOOKEPEER_HOST = kafka_zookeeper
UGC_ZOOKEPEER_PORT = 2181
KAFKA_BROKER_HOST = kafka_broker
KAFKA_BROKER_PORT = 29092
KAFKA_BROKER_EXTERNAL_PORT = 9092
[CLICkHOUSE]
CLICKHOUSE_PORT_BASE = 8123
CLICKHOUSE_PORT_ZOOKEPEER = 9000
[ETL-OLAP-SETTINGS]
MESSAGE_COUNT=1
ETL_SLEEP_TIME=20