-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env_example
More file actions
33 lines (29 loc) · 1.1 KB
/
Copy path.env_example
File metadata and controls
33 lines (29 loc) · 1.1 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
# --- Database (PostgreSQL) ---
# Host + docker compose --profile port-forwarder → localhost:5432 (postgres_port_forwarder).
# API container in compose → DB_HOST=postgres
DB_HOST=localhost
DB_PORT=5432
DB_USERNAME=Username
DB_PASSWORD=Password
DB_DATABASE=Example-DB
# --- Redis ---
# Host + compose --profile port-forwarder → localhost:6379 (redis_port_forwarder).
# API container in compose → REDIS_HOST=redis
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=Password
# --- Email verifier (external HTTP API) ---
EMAIL_VERIFIER_API_KEY=API_KEY
EMAIL_VERIFIER_ENABLED=False
# --- Kafka (FastStream / aiokafka) ---
# Host + compose --profile port-forwarder → localhost:9092 (kafka_port_forwarder).
# API container in compose → MESSAGE_BROKER_HOST=kafka MESSAGE_BROKER_PORT=29092
MESSAGE_BROKER_HOST=localhost
MESSAGE_BROKER_PORT=9092
# --- SMTP (MailDev locally) ---
# Host + compose --profile port-forwarder → SMTP on localhost:1025, web UI http://127.0.0.1:1080
# API container in compose → SMTP_HOST=maildev SMTP_PORT=1025
SMTP_HOST=localhost
SMTP_PORT=1025
SMTP_USE_TLS=False
SMTP_SENDER=root@localhost