32 lines
895 B
Plaintext
32 lines
895 B
Plaintext
# Сервер
|
||
SERVER_IP=192.168.1.8
|
||
# Для домена замените на:
|
||
# SERVER_IP=yourdomain.com
|
||
# FRONTEND_URL=https://yourdomain.com
|
||
# BACKEND_URL=https://api.yourdomain.com
|
||
|
||
# Порты
|
||
FRONTEND_PORT=8095
|
||
BACKEND_PORT=8094
|
||
MINIO_API_PORT=9090
|
||
MINIO_CONSOLE_PORT=9091
|
||
REDIS_PORT=6388
|
||
|
||
# S3 Storage
|
||
S3_DATA_PATH=/mnt/data/s3
|
||
|
||
# Безопасность (ОБЯЗАТЕЛЬНО ПОМЕНЯЙТЕ В PRODUCTION!)
|
||
JWT_SECRET=dev-secret-key-change-in-production
|
||
MINIO_ROOT_USER=minioadmin
|
||
MINIO_ROOT_PASSWORD=minioadmin
|
||
|
||
# CORS Origins (добавьте свой домен)
|
||
# Для production:
|
||
# CORS_ORIGINS=https://yourdomain.com,https://www.yourdomain.com
|
||
CORS_ORIGINS=http://${SERVER_IP}:${FRONTEND_PORT},http://localhost:${FRONTEND_PORT}
|
||
|
||
# API URL для frontend
|
||
# Для production:
|
||
# VITE_API_URL=https://api.yourdomain.com
|
||
VITE_API_URL=http://${SERVER_IP}:${BACKEND_PORT}
|