-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env.master.dev
117 lines (99 loc) · 5.77 KB
/
.env.master.dev
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
# ==============| Frontend |============= #
IMAGE_REVERSE_PROXY = # ( OPTIONAL ) Proxy to check, validate images
AVERAGE_EXTRACTION_RATE = 130 # for estimating time based on the number of extracted, fetched messages per second.
SERVER_ENDPOINT = http://localhost:8081 # ( REQUIRED ) URL of the Backend server.
SAAS_SUPABASE_PROJECT_URL = http://127.0.0.1:54321 # ( REQUIRED ) Supabase saas project URL.
SAAS_SUPABASE_ANON_KEY = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0 # ( REQUIRED ) Respects RLS rules and configured policies
SUPABASE_PROJECT_URL = http://127.0.0.1:54321 # ( REQUIRED ) Supabase project URL.
SUPABASE_ANON_KEY =eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0 # ( REQUIRED ) Respects RLS rules and configured policies
POSTHOG_API_KEY = # ( OPTIONAL ) Posthog api key
POSTHOG_INSTANCE_ADDRESS = # ( OPTIONAL ) Posthog instance address
EXTERNAL_REFILL_CREDITS_LINK = # ( OPTIONAL ) External link for users to refill credits.
# https://sentry.io
SENTRY_DSN_FRONTEND = '' # ( OPTIONAL ) Reporting and monitoring
SENTRY_ENVIRONMENT_FRONTEND = 'leadminer-frontend-prod'
# ==============| Backend |============= #
APP_NAME = leadminer
FRONTEND_HOST = http://localhost:8082 # ( REQUIRED )
LEADMINER_API_PORT = 8081 # ( REQUIRED )
LEADMINER_API_HOST = http://localhost:8081 # ( REQUIRED )
LEADMINER_FETCH_BATCH_SIZE = 100 # ( REQUIRED ) Sends notification every x processed items to the frontend
LEADMINER_API_HASH_SECRET = change_me # ( REQUIRED ) Used for hashing secrets
LEADMINER_MINING_ID_GENERATOR_LENGTH = 10 # ( REQUIRED ) Length of the task id
## LOGGING ##
# GRAFANA_LOKI_HOST = # Use Loki transport for logging (Default is console)
LEADMINER_API_LOG_LEVEL = debug # Logging level (debug, info, notice, warning...)
## SUPABASE ##
SUPABASE_PROJECT_URL = http://127.0.0.1:54321 # ( REQUIRED ) Supabase project URL
SUPABASE_SECRET_PROJECT_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6InNlcnZpY2Vfcm9sZSIsImV4cCI6MTk4MzgxMjk5Nn0.EGIM96RAZx35lJzdJsyH-qQwv8Hdp7fsn3W0YpN81IU # ( REQUIRED ) Supabase project token
PG_CONNECTION_STRING = postgresql://postgres:[email protected]:54322/postgres # ( REQUIRED ) Postgres connection string
## IMAP ##
IMAP_FETCH_BODY = false # Enable or disable fetching Email bodies
IMAP_AUTH_TIMEOUT = 10000 # Milliseconds to wait for authentication after an IMAP connection is established
IMAP_CONNECTION_TIMEOUT = 10000 # Milliseconds to wait for a connection to be established
IMAP_MAX_CONNECTIONS = 10 # Maximum number of simultaneous IMAP connections allowed. It is recommended to keep this value between 1 and 15.
## REDIS ##
REDIS_HOST = localhost # ( REQUIRED ) Redis host
REDIS_PORT = 6379 # ( REQUIRED ) Redis port
# REDIS_USERNAME = # ( OPTIONAL ) Redis username
# REDIS_PASSWORD = # ( OPTIONAL ) Redis password
REDIS_DB = 0 # ( REQUIRED ) Redis db
REDIS_TLS = false # ( REQUIRED ) Enable or disable TLS for Redis
REDIS_EXPIRATION_TIMEOUT = 7776000 # ( REQUIRED ) Expiration timeout (90 days ) for Redis entries
REDIS_CONSUMER_BATCH_SIZE = 100 # ( REQUIRED ) The entries to read from each stream
REDIS_EMAIL_VERIFICATION_CONSUMER_BATCH_SIZE = 500 # The entries to read from each stream
REDIS_PUBSUB_COMMUNICATION_CHANNEL = 'stream-management' # PubSub channel all workers listen to
REDIS_EXTRACTING_STREAM_CONSUMER_GROUP = 'email-messages-consumer-group' # Consumer group for extracting worker
REDIS_CLEANING_STREAM_CONSUMER_GROUP = 'email-verification-consumer-group' # consumer group for cleaning worker
## OAUTH PROVIDERS ##
GOOGLE_CLIENT_ID = 21825381029-993l33883t26n48fv11mmm049j6qn6lh.apps.googleusercontent.com # ( REQUIRED ) Google client ID
GOOGLE_SECRET = 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 # ( REQUIRED ) Google secret
AZURE_CLIENT_ID = your_azure_client_id # ( REQUIRED ) Azure client ID
AZURE_SECRET = your_azure_client_secret # ( REQUIRED ) Azure secret
## SENTRY DSN ##
# https://sentry.io
# SENTRY_DSN_BACKEND = # ( OPTIONAL ) Sentry DSN for reporting and monitoring
# SENTRY_ENVIRONMENT_BACKEND = 'leadminer-backend-prod'
## EMAIL VERIFICATION ##
#
# This section contains configuration variables for all email
# verification services: Reacher, MailerCheck, and ZeroBounce.
#
LOAD_BALANCE_VERIFIERS = false # true to load balance between multiple email verifiers
# Reacher: https://help.reacher.email/
REACHER_HOST = https://stoplight.io/mocks/reacher/backend/68673 # ( REQUIRED )
REACHER_API_KEY = 'test-key'
# REACHER_HEADER_SECRET =
# REACHER_SMTP_FROM =
# REACHER_SMTP_HELLO =
# REACHER_PROXY_PORT =
# REACHER_PROXY_HOST =
# REACHER_PROXY_USERNAME =
# REACHER_PROXY_PASSWORD =
# REACHER_REQUEST_TIMEOUT_MS =
# REACHER_SMTP_CONNECTION_TIMEOUT_SECONDS =
# REACHER_SMTP_CONNECTION_RETRIES =
REACHER_HOTMAIL_USE_HEADLESS =true
# REACHER_MICROSOFT365_USE_API =
REACHER_GMAIL_USE_API =true
# REACHER_YAHOO_USE_API =
REACHER_RATE_LIMITER_REQUESTS = 60
REACHER_RATE_LIMITER_INTERVAL = 60000 # 1 minute
# Mailercheck: https://developers.mailercheck.com/
# MAILERCHECK_API_KEY =
# Zerobounce: https://www.zerobounce.net/docs/email-validation-api-quickstart/
# ZEROBOUNCE_API_KEY =
## CONTACT ENRICHMENT ##
#
# This section contains configuration variables for contact enrichment services.
#
# Voilanorbert: https://api.voilanorbert.com/2018-01-08/
VOILANORBERT_URL = http://127.0.0.1:8083/voilanorbert/2018-01-08/
VOILANORBERT_USERNAME = any_string
VOILANORBERT_API_KEY = test-api-key
#Thedig
THEDIG_URL = http://127.0.0.1:8083/thedig/
THEDIG_API_KEY = _
#PROXYCURL
PROXYCURL_URL = http://127.0.0.1:8083/proxycurl/
PROXYCURL_API_KEY = _