-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev.env
More file actions
49 lines (41 loc) · 2.41 KB
/
Copy pathdev.env
File metadata and controls
49 lines (41 loc) · 2.41 KB
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
# =========================================================================
# EventSnap Dev Local Environment Setup
# Intended for use with: docker-compose.dev.yml
# =========================================================================
# -------------------------------------------------------------------------
# INFRASTRUCTURE VARIABLES
# -------------------------------------------------------------------------
# Used by the `es-rabbitmq` container to initialize credentials
RABBITMQ_DEFAULT_USER="<RABBITMQ_USER>"
RABBITMQ_DEFAULT_PASS="<RABBITMQ_PASSWORD>"
# -------------------------------------------------------------------------
# WORKFLOW A: With Infisical (Recommended)
# -------------------------------------------------------------------------
# 1. Provide your Infisical Machine Identity credentials (or Token) below.
# 2. The apps will automatically fetch all application secrets from Infisical.
# 3. You can completely ignore the "Application Variables" section below!
# Used by `es-main_api`, `es-celery_worker`, and `es-inference_api` to fetch secrets
# INFISICAL_API_URL="https://app.infisical.com"
# INFISICAL_PROJECT_ID="d8d040c0-0c42-4d30-b89f-3d6593808a28"
# INFISICAL_MACHINE_IDENTITY_CLIENT_ID=""
# INFISICAL_MACHINE_IDENTITY_CLIENT_SECRET=""
# INFISICAL_TOKEN=""
# -------------------------------------------------------------------------
# WORKFLOW B: Without Infisical (Manual Fallback)
# -------------------------------------------------------------------------
# 1. Leave the Infisical credentials above blank! The bash scripts will run natively.
# 2. Manually fill in the Application Variables below.
# Used by `es-main_api`, `es-db_migration` and `es-celery_worker` to connect to external PostgreSQL
DATABASE_URL="postgresql://<USER>:<PASSWORD>@<HOST>:<PORT>/<DATABASE>"
# Used by `es-main_api` and `es-celery_worker` to connect to the RabbitMQ broker
RABBITMQ_URL="amqp://${RABBITMQ_DEFAULT_USER}:${RABBITMQ_DEFAULT_PASS}@es-rabbitmq:5672/"
# Used by `es-main_api` and `es-celery_worker` to connect to external S3 or S3 api compatible storage
STORAGE_ACCESS_KEY="<STORAGE_ACCESS_KEY>"
STORAGE_SECRET_KEY="<STORAGE_SECRET_KEY>"
STORAGE_BUCKET_NAME="<STORAGE_BUCKET_NAME>"
STORAGE_ENDPOINT="<STORAGE_ENDPOINT>"
# Used by `es-main_api` to route requests to the Inference service
INFERENCE_API_URL="http://es-inference_api:5000"
# Used by `es-main_api` for facial recognition thresholds
SIMILARITY_THRESHOLD=0.55
MIN_MATCHES=2