feat: add Redis DB tracking and resolve DB conflicts
- Add Redis DB column to All Services table in CONTAINERS.md - Move Nextcloud from DB 3 to DB 7 to resolve conflict with Scheduler - Split Tatlock Redis usage: DB 1 (memory), DB 6 (benchmarks) - Add missing services to table: Wiki.js, Tatlock, Library Desk 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -17,10 +17,10 @@ services:
|
||||
- POSTGRES_USER=nextcloud_user
|
||||
- POSTGRES_PASSWORD=${NEXTCLOUD_DB_PASSWORD}
|
||||
|
||||
# Redis configuration (Database 3)
|
||||
# Redis configuration (Database 7)
|
||||
- REDIS_HOST=redis-shared
|
||||
- REDIS_HOST_PORT=6379
|
||||
- REDIS_DB_INDEX=3
|
||||
- REDIS_DB_INDEX=7
|
||||
|
||||
# Timezone
|
||||
- TZ=Europe/Amsterdam
|
||||
@@ -49,7 +49,7 @@ networks:
|
||||
# 2. Database and user already created in postgres-shared:
|
||||
# - Database: nextcloud
|
||||
# - User: nextcloud_user
|
||||
# - Redis DB: 3
|
||||
# - Redis DB: 7
|
||||
#
|
||||
# 3. Create .env file with:
|
||||
# NEXTCLOUD_DB_PASSWORD=<password from shared infrastructure setup>
|
||||
@@ -81,7 +81,7 @@ networks:
|
||||
# 5. Configure Redis caching:
|
||||
# docker exec -u www-data nextcloud php occ config:system:set redis host --value=redis-shared
|
||||
# docker exec -u www-data nextcloud php occ config:system:set redis port --value=6379
|
||||
# docker exec -u www-data nextcloud php occ config:system:set redis dbindex --value=3
|
||||
# docker exec -u www-data nextcloud php occ config:system:set redis dbindex --value=7
|
||||
# docker exec -u www-data nextcloud php occ config:system:set memcache.local --value='\\OC\\Memcache\\APCu'
|
||||
# docker exec -u www-data nextcloud php occ config:system:set memcache.distributed --value='\\OC\\Memcache\\Redis'
|
||||
# docker exec -u www-data nextcloud php occ config:system:set memcache.locking --value='\\OC\\Memcache\\Redis'
|
||||
@@ -104,7 +104,7 @@ networks:
|
||||
# Cache:
|
||||
# - Host: redis-shared (from containers) / localhost (from host)
|
||||
# - Port: 6379
|
||||
# - Database: 3
|
||||
# - Database: 7
|
||||
#
|
||||
# Resource Usage:
|
||||
# - Nextcloud: 1GB RAM limit
|
||||
|
||||
+3
-2
@@ -27,10 +27,11 @@ services:
|
||||
# SearXNG (optional, shared service)
|
||||
- SEARXNG_HOST=http://searxng:8080
|
||||
- SEARXNG_TIMEOUT=30
|
||||
# Redis (optional, shared service)
|
||||
# Redis (shared service)
|
||||
- REDIS_HOST=redis-shared
|
||||
- REDIS_PORT=6379
|
||||
- REDIS_DB=6
|
||||
- REDIS_MEMORY_DB=1
|
||||
- REDIS_BENCHMARK_DB=6
|
||||
- REDIS_TIMEOUT=5
|
||||
# Features
|
||||
- ENABLE_BENCHMARKS=true
|
||||
|
||||
Reference in New Issue
Block a user