Refactored redis component to use a centralized postgres database with coordinator instead of descentralized sqlite shitty databases
This commit is contained in:
@@ -3,10 +3,9 @@ services:
|
||||
build: .
|
||||
command: ["redis-worker"]
|
||||
environment:
|
||||
REDIS_URL: redis://192.168.15.101:6379/0
|
||||
REDIS_URL: redis://192.168.15.100:6379/0
|
||||
RTSP_QUEUE_NAME: camfinder:rtsp:queue
|
||||
RTSP_SNAPSHOT_DIR: /app/dump/feeds
|
||||
RTSP_SQLITE_PATH: /app/dump/rtsp-results.sqlite
|
||||
RTSP_CAPTURE_TIMEOUT_MS: 15000
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
@@ -16,10 +15,9 @@ services:
|
||||
build: .
|
||||
command: ["redis-worker"]
|
||||
environment:
|
||||
REDIS_URL: redis://192.168.15.101:6379/0
|
||||
REDIS_URL: redis://192.168.15.100:6379/0
|
||||
RTSP_QUEUE_NAME: camfinder:rtsp:queue
|
||||
RTSP_SNAPSHOT_DIR: /app/dump/feeds
|
||||
RTSP_SQLITE_PATH: /app/dump/rtsp-results.sqlite
|
||||
RTSP_CAPTURE_TIMEOUT_MS: 15000
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
@@ -29,10 +27,9 @@ services:
|
||||
build: .
|
||||
command: ["redis-worker"]
|
||||
environment:
|
||||
REDIS_URL: redis://192.168.15.101:6379/0
|
||||
REDIS_URL: redis://192.168.15.100:6379/0
|
||||
RTSP_QUEUE_NAME: camfinder:rtsp:queue
|
||||
RTSP_SNAPSHOT_DIR: /app/dump/feeds
|
||||
RTSP_SQLITE_PATH: /app/dump/rtsp-results.sqlite
|
||||
RTSP_CAPTURE_TIMEOUT_MS: 15000
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
@@ -42,10 +39,9 @@ services:
|
||||
build: .
|
||||
command: ["redis-worker"]
|
||||
environment:
|
||||
REDIS_URL: redis://192.168.15.101:6379/0
|
||||
REDIS_URL: redis://192.168.15.100:6379/0
|
||||
RTSP_QUEUE_NAME: camfinder:rtsp:queue
|
||||
RTSP_SNAPSHOT_DIR: /app/dump/feeds
|
||||
RTSP_SQLITE_PATH: /app/dump/rtsp-results.sqlite
|
||||
RTSP_CAPTURE_TIMEOUT_MS: 15000
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
@@ -55,10 +51,9 @@ services:
|
||||
build: .
|
||||
command: ["redis-worker"]
|
||||
environment:
|
||||
REDIS_URL: redis://192.168.15.101:6379/0
|
||||
REDIS_URL: redis://192.168.15.100:6379/0
|
||||
RTSP_QUEUE_NAME: camfinder:rtsp:queue
|
||||
RTSP_SNAPSHOT_DIR: /app/dump/feeds
|
||||
RTSP_SQLITE_PATH: /app/dump/rtsp-results.sqlite
|
||||
RTSP_CAPTURE_TIMEOUT_MS: 15000
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
@@ -68,10 +63,9 @@ services:
|
||||
build: .
|
||||
command: ["redis-worker"]
|
||||
environment:
|
||||
REDIS_URL: redis://192.168.15.101:6379/0
|
||||
REDIS_URL: redis://192.168.15.100:6379/0
|
||||
RTSP_QUEUE_NAME: camfinder:rtsp:queue
|
||||
RTSP_SNAPSHOT_DIR: /app/dump/feeds
|
||||
RTSP_SQLITE_PATH: /app/dump/rtsp-results.sqlite
|
||||
RTSP_CAPTURE_TIMEOUT_MS: 15000
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
@@ -81,10 +75,9 @@ services:
|
||||
build: .
|
||||
command: ["redis-worker"]
|
||||
environment:
|
||||
REDIS_URL: redis://192.168.15.101:6379/0
|
||||
REDIS_URL: redis://192.168.15.100:6379/0
|
||||
RTSP_QUEUE_NAME: camfinder:rtsp:queue
|
||||
RTSP_SNAPSHOT_DIR: /app/dump/feeds
|
||||
RTSP_SQLITE_PATH: /app/dump/rtsp-results.sqlite
|
||||
RTSP_CAPTURE_TIMEOUT_MS: 15000
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
@@ -94,10 +87,9 @@ services:
|
||||
build: .
|
||||
command: ["redis-worker"]
|
||||
environment:
|
||||
REDIS_URL: redis://192.168.15.101:6379/0
|
||||
REDIS_URL: redis://192.168.15.100:6379/0
|
||||
RTSP_QUEUE_NAME: camfinder:rtsp:queue
|
||||
RTSP_SNAPSHOT_DIR: /app/dump/feeds
|
||||
RTSP_SQLITE_PATH: /app/dump/rtsp-results.sqlite
|
||||
RTSP_CAPTURE_TIMEOUT_MS: 15000
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user