-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
51 lines (43 loc) · 1.53 KB
/
env.example
File metadata and controls
51 lines (43 loc) · 1.53 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
50
51
# ==============================================================================
# VENTO MARKETPLACE - ENVIRONMENT TEMPLATE (.env.example)
# Instructions: Copy this file to .env and replace placeholders with actual values.
# ==============================================================================
# --- DATABASE CORE SETTINGS ---
# Global database credentials for administrative tasks
DB_USER=your_admin_user_here
DB_PASS=your_admin_password_here
DB_MAX_RETRIES=10
# --- MICROSERVICES DATABASES (PostgreSQL) ---
# Authentication Service DB
AUTH_DB_USER=auth_user_name
AUTH_DB_PASSWORD=auth_db_password
AUTH_DB_NAME=auth_db_name
# Chat Service DB
CHAT_DB_USER=chat_user_name
CHAT_DB_PASSWORD=chat_db_password
CHAT_DB_NAME=chat_db_name
# Catalog Service DB (PostGIS enabled)
CATALOG_DB_USER=catalog_user_name
CATALOG_DB_PASSWORD=catalog_db_password
CATALOG_DB_NAME=catalog_db_name
# --- NETWORK & PORTS ---
# Internal and External Service Routing
BFF_PORT=3000
AUTH_PORT=3001
CATALOG_PORT=3002
MEDIA_PORT=3003
CHAT_PORT=3004
DOCKER_HOST_IP=0.0.0.0
# --- SECURITY & AUTHENTICATION ---
# Secret for signing JWT tokens (External)
JWT_SECRET=your_long_random_jwt_secret_here
# Secret for Inter-service communication (Internal)
SERVICE_SECRET=your_internal_service_key_here
# --- MAIL SERVICE (SMTP Hostinger) ---
SMTP_HOST=smtp.hostinger.com
SMTP_PORT=465
SMTP_USER=your_email_address_here
SMTP_FROM=your_email_address_here
# Note: SMTP_PASS should be managed via Docker Secrets for production
# --- FRONTEND CONFIGURATION ---
FRONTEND_URL=https://localhost:8443