Files
Aether/.env.example
2026-01-25 11:30:30 +03:00

62 lines
1.2 KiB
Bash

# === GENERAL ===
COMPANY_NAME="Aether Messenger"
MODE=PROD
LOG_LEVEL=INFO
# === BACKEND ===
BACKEND_HOST=0.0.0.0
BACKEND_PORT=8080
WORKERS=4
URL=https://yourdomain.com
# === FIRST SUPERUSER ===
FIRST_SUPER_USER_EMAIL=admin@example.com
FIRST_SUPER_USER_PASS=changeme123
FIRST_SUPER_USER_USERNAME=admin
# === CORS ===
# Добавьте свой домен
CORS_ORIGINS=["https://yourdomain.com", "http://localhost:3000"]
# === AUTH ===
SECRET_KEY=your-super-secret-key-change-me
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=15
EMAIL_TOKEN_EXPIRE_MINUTES=60
REFRESH_TOKEN_EXPIRE_DAYS=30
# === SMTP (Email) ===
SMTP_SERVER=smtp.gmail.com
SMTP_PORT=587
SMTP_EMAIL=your-email@gmail.com
SMTP_PASS=your-app-password
# === S3 Storage ===
S3_URL=https://s3.amazonaws.com
S3_ACCESS_KEY_ID=your-access-key
S3_SECRET_ACCESS_KEY=your-secret-key
S3_BUCKET_NAME=aether-bucket
# === DATABASE (PostgreSQL) ===
DB_HOST=database
DB_PORT=5432
DB_USER=aether_user
DB_PASS=strong_password_here
DB_NAME=aether_db
# === REDIS ===
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_PASS=
REDIS_DB=0
# === RABBITMQ ===
RMQ_HOST=rabbitmq
RMQ_USER=aether_rmq
RMQ_PASS=rabbitmq_password
RMQ_PORT=5672
# === FRONTEND ===
VITE_API_URL=/api/v1
FRONTEND_PORT=3056