mirror of
https://github.com/tiennm99/store-scraper-bot.git
synced 2026-10-14 16:17:57 +00:00
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:
1 parent
a532c34d99
commit
def45c7402
24 files changed
+120
-257
No files matched your search
+6
-12
@@ -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:
|
||||
Reference in new issue
Block a user