Files
bivekidaybot/stack.env.example
Bivekich 0ce19f8182 🚀 Initial commit: Biveki Day Bot with Docker deployment
 Features:
- 🤖 Telegram bot for task management between programmer and girlfriend
- 📝 Task creation with types (personal/shared) and priorities
-  Time-based reminders and notifications
- 📊 Statistics and progress tracking
- 🤝 Shared tasks for couples

🛠 Tech Stack:
- Backend: NestJS + TypeScript
- Database: PostgreSQL + TypeORM
- Bot: Telegraf
- Deployment: Docker + Docker Compose

🐳 Docker Deployment:
- Multi-stage Dockerfile for optimized builds
- Docker Compose with environment variables
- Health checks and automatic restarts
- Production-ready configuration

📦 Files included:
- Complete NestJS application
- Docker deployment configuration
- Environment variables setup
- Deployment scripts and documentation
- Health monitoring and logging
2025-06-26 21:40:27 +03:00

57 lines
2.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Пример файла переменных окружения для деплоя
# Скопируйте этот файл в stack.env и заполните реальными значениями
# =================================
# ОСНОВНЫЕ НАСТРОЙКИ ПРИЛОЖЕНИЯ
# =================================
# Среда выполнения (development, production)
NODE_ENV=production
# Порт для приложения
PORT=3000
# Часовой пояс
TZ=Europe/Moscow
# =================================
# БАЗА ДАННЫХ (ОБЯЗАТЕЛЬНО)
# =================================
# URL подключения к PostgreSQL базе данных
# Формат: postgresql://username:password@host:port/database
DATABASE_URL=postgresql://your_username:your_password@your_host:5432/your_database
# Максимальное количество подключений к БД
MAX_CONNECTIONS=10
# =================================
# TELEGRAM BOT (ОБЯЗАТЕЛЬНО)
# =================================
# Токен Telegram бота (получить у @BotFather)
TELEGRAM_BOT_TOKEN=your_bot_token_here
# =================================
# ДОПОЛНИТЕЛЬНЫЕ НАСТРОЙКИ
# =================================
# Уровень логирования (error, warn, info, debug)
LOG_LEVEL=info
# =================================
# ИНСТРУКЦИИ ПО ЗАПОЛНЕНИЮ
# =================================
# 1. DATABASE_URL:
# - Замените your_username, your_password, your_host, your_database
# - Пример: postgresql://myuser:mypass@db.example.com:5432/mydb
# - Для облачных БД часто требуется SSL, это настроено автоматически
# 2. TELEGRAM_BOT_TOKEN:
# - Создайте бота через @BotFather в Telegram
# - Скопируйте полученный токен
# - Пример: 1234567890:ABCdefGHIjklMNOpqrsTUVwxyz
# 3. После заполнения переименуйте файл в stack.env:
# mv stack.env.example stack.env