mirror of
https://github.com/tiennm99/store-scraper-bot-java.git
synced 2026-05-22 22:25:41 +00:00
def45c7402
Replaces Couchbase with Redis for data persistence, updating environment variables, Docker Compose files, and repository logic. Removes Couchbase and Jackson dependencies, introduces Gson for JSON serialization, and refactors models and repositories to support Redis. Adds utility classes for Redis and Gson, and updates tests and scrapers to use Gson.
20 lines
421 B
Bash
20 lines
421 B
Bash
# Copy this file to .env and customize the values for your environment
|
|
# cp .env.example .env
|
|
|
|
# Redis configuration
|
|
REDIS_URL=localhost:6379
|
|
|
|
# Telegram Bot configuration
|
|
TELEGRAM_BOT_TOKEN=your_telegram_bot_token_here
|
|
TELEGRAM_BOT_USERNAME=your_bot_username
|
|
|
|
# Java configuration
|
|
JAVA_OPTS=-Xmx512m
|
|
|
|
# Logging configuration
|
|
LOG_LEVEL=INFO
|
|
|
|
# App configuration
|
|
ENV=DEVELOPMENT
|
|
ADMIN_IDS=1000001999,1000002000,1000002001
|