Migrate data storage from Couchbase to Redis

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.
This commit is contained in:
2025-11-05 21:47:58 +07:00
parent a532c34d99
commit def45c7402
24 changed files with 120 additions and 257 deletions
+6 -12
View File
@@ -1,18 +1,12 @@
services:
couchbase:
image: couchbase:community-7.6.2
env_file:
- .env
redis:
image: redis:7.2-alpine
ports:
- "8091-8097:8091-8097"
- "9123:9123"
- "11207:11207"
- "11210:11210"
- "11280:11280"
- "18091-18097:18091-18097"
- "6379:6379"
volumes:
- couchbase_data:/opt/couchbase/var
- redis_data:/data
restart: unless-stopped
command: redis-server --appendonly yes
volumes:
couchbase_data:
redis_data: