sei la2
This commit is contained in:
@@ -13,7 +13,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
REDIS_URL: redis://redis:6379/0
|
REDIS_URL: redis://redis:6379/0
|
||||||
RTSP_QUEUE_NAME: camfinder:rtsp:queue
|
RTSP_QUEUE_NAME: camfinder:rtsp:queue
|
||||||
RTSP_INPUT_CSV: /usr/local/share/camfinder/camfinder-open-rtsp.csv
|
RTSP_INPUT_CSV: /app/camfinder-open-rtsp.csv
|
||||||
RTSP_WORKER_COUNT: 2
|
RTSP_WORKER_COUNT: 2
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
@@ -45,8 +45,7 @@ services:
|
|||||||
RTSP_SQLITE_PATH: /app/dump/rtsp-results.sqlite
|
RTSP_SQLITE_PATH: /app/dump/rtsp-results.sqlite
|
||||||
RTSP_CAPTURE_TIMEOUT_MS: 15000
|
RTSP_CAPTURE_TIMEOUT_MS: 15000
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- worker-1
|
||||||
- coordinator
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./dump:/app/dump
|
- ./dump:/app/dump
|
||||||
|
|
||||||
@@ -60,8 +59,7 @@ services:
|
|||||||
RTSP_SQLITE_PATH: /app/dump/rtsp-results.sqlite
|
RTSP_SQLITE_PATH: /app/dump/rtsp-results.sqlite
|
||||||
RTSP_CAPTURE_TIMEOUT_MS: 15000
|
RTSP_CAPTURE_TIMEOUT_MS: 15000
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- worker-2
|
||||||
- coordinator
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./dump:/app/dump
|
- ./dump:/app/dump
|
||||||
|
|
||||||
@@ -75,8 +73,7 @@ services:
|
|||||||
RTSP_SQLITE_PATH: /app/dump/rtsp-results.sqlite
|
RTSP_SQLITE_PATH: /app/dump/rtsp-results.sqlite
|
||||||
RTSP_CAPTURE_TIMEOUT_MS: 15000
|
RTSP_CAPTURE_TIMEOUT_MS: 15000
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- worker-3
|
||||||
- coordinator
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./dump:/app/dump
|
- ./dump:/app/dump
|
||||||
|
|
||||||
@@ -90,8 +87,7 @@ services:
|
|||||||
RTSP_SQLITE_PATH: /app/dump/rtsp-results.sqlite
|
RTSP_SQLITE_PATH: /app/dump/rtsp-results.sqlite
|
||||||
RTSP_CAPTURE_TIMEOUT_MS: 15000
|
RTSP_CAPTURE_TIMEOUT_MS: 15000
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- worker-4
|
||||||
- coordinator
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./dump:/app/dump
|
- ./dump:/app/dump
|
||||||
|
|
||||||
@@ -105,8 +101,7 @@ services:
|
|||||||
RTSP_SQLITE_PATH: /app/dump/rtsp-results.sqlite
|
RTSP_SQLITE_PATH: /app/dump/rtsp-results.sqlite
|
||||||
RTSP_CAPTURE_TIMEOUT_MS: 15000
|
RTSP_CAPTURE_TIMEOUT_MS: 15000
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- worker-5
|
||||||
- coordinator
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./dump:/app/dump
|
- ./dump:/app/dump
|
||||||
|
|
||||||
@@ -120,8 +115,7 @@ services:
|
|||||||
RTSP_SQLITE_PATH: /app/dump/rtsp-results.sqlite
|
RTSP_SQLITE_PATH: /app/dump/rtsp-results.sqlite
|
||||||
RTSP_CAPTURE_TIMEOUT_MS: 15000
|
RTSP_CAPTURE_TIMEOUT_MS: 15000
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- worker-6
|
||||||
- coordinator
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./dump:/app/dump
|
- ./dump:/app/dump
|
||||||
|
|
||||||
@@ -135,8 +129,7 @@ services:
|
|||||||
RTSP_SQLITE_PATH: /app/dump/rtsp-results.sqlite
|
RTSP_SQLITE_PATH: /app/dump/rtsp-results.sqlite
|
||||||
RTSP_CAPTURE_TIMEOUT_MS: 15000
|
RTSP_CAPTURE_TIMEOUT_MS: 15000
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- worker-7
|
||||||
- coordinator
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./dump:/app/dump
|
- ./dump:/app/dump
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -0,0 +1,104 @@
|
|||||||
|
services:
|
||||||
|
worker-1:
|
||||||
|
build: .
|
||||||
|
command: ["redis-worker"]
|
||||||
|
environment:
|
||||||
|
REDIS_URL: redis://192.168.15.101: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:
|
||||||
|
- ./dump:/app/dump
|
||||||
|
|
||||||
|
worker-2:
|
||||||
|
build: .
|
||||||
|
command: ["redis-worker"]
|
||||||
|
environment:
|
||||||
|
REDIS_URL: redis://192.168.15.101: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:
|
||||||
|
- ./dump:/app/dump
|
||||||
|
|
||||||
|
worker-3:
|
||||||
|
build: .
|
||||||
|
command: ["redis-worker"]
|
||||||
|
environment:
|
||||||
|
REDIS_URL: redis://192.168.15.101: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:
|
||||||
|
- ./dump:/app/dump
|
||||||
|
|
||||||
|
worker-4:
|
||||||
|
build: .
|
||||||
|
command: ["redis-worker"]
|
||||||
|
environment:
|
||||||
|
REDIS_URL: redis://192.168.15.101: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:
|
||||||
|
- ./dump:/app/dump
|
||||||
|
|
||||||
|
worker-5:
|
||||||
|
build: .
|
||||||
|
command: ["redis-worker"]
|
||||||
|
environment:
|
||||||
|
REDIS_URL: redis://192.168.15.101: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:
|
||||||
|
- ./dump:/app/dump
|
||||||
|
|
||||||
|
worker-6:
|
||||||
|
build: .
|
||||||
|
command: ["redis-worker"]
|
||||||
|
environment:
|
||||||
|
REDIS_URL: redis://192.168.15.101: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:
|
||||||
|
- ./dump:/app/dump
|
||||||
|
|
||||||
|
worker-7:
|
||||||
|
build: .
|
||||||
|
command: ["redis-worker"]
|
||||||
|
environment:
|
||||||
|
REDIS_URL: redis://192.168.15.101: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:
|
||||||
|
- ./dump:/app/dump
|
||||||
|
|
||||||
|
worker-8:
|
||||||
|
build: .
|
||||||
|
command: ["redis-worker"]
|
||||||
|
environment:
|
||||||
|
REDIS_URL: redis://192.168.15.101: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:
|
||||||
|
- ./dump:/app/dump
|
||||||
Reference in New Issue
Block a user