-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathenv.example
More file actions
53 lines (42 loc) · 1.35 KB
/
env.example
File metadata and controls
53 lines (42 loc) · 1.35 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
52
53
# Environment Configuration Example
# Скопируйте этот файл в .env и заполните значения
# ============================================
# Backend Project - Experiment Service
# ============================================
# Server Configuration
HOST=0.0.0.0
PORT=8002
# Database Configuration
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/experiment_db
DB_POOL_MIN_SIZE=5
DB_POOL_MAX_SIZE=20
# Authentication
JWT_SECRET=your-secret-key-change-in-production
AUTH_SERVICE_URL=http://localhost:8001
# RabbitMQ Configuration
RABBITMQ_URL=amqp://guest:guest@localhost:5672/
RABBITMQ_EXCHANGE=events
# Logging
LOG_LEVEL=INFO
# Audit log retention (days)
AUDIT_RETENTION_DAYS=365
# Development Mode
# Установите DEBUG=true для development режима (упрощенная аутентификация)
DEBUG=false
ENV=development
# ============================================
# Frontend Configuration
# ============================================
# API Base URL (для frontend)
VITE_API_URL=http://localhost:8002
# Email / SMTP (Mailpit для разработки: http://localhost:8025)
MAILPIT_PORT=1025
MAILPIT_WEB_PORT=8025
SMTP_HOST=mailpit
SMTP_PORT=1025
SMTP_USER=
SMTP_PASSWORD=
SMTP_FROM=noreply@experiment-platform.local
SMTP_FROM_NAME=Experiment Platform
SMTP_ENABLED=true
APP_URL=http://localhost:3000