Merge remote-tracking branch 'forgejo/master'
Some checks failed
build-and-deploy / build (push) Failing after 4s
Some checks failed
build-and-deploy / build (push) Failing after 4s
# Conflicts: # .env.example
This commit is contained in:
commit
cf98af8101
8 changed files with 735 additions and 7 deletions
|
|
@ -112,5 +112,39 @@ services:
|
|||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
camera-service:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
platforms: ["linux/arm64"]
|
||||
image: localhost/osint-dashboard:latest
|
||||
container_name: osint-camera-scraper
|
||||
restart: unless-stopped
|
||||
profiles: ["ingest"]
|
||||
depends_on:
|
||||
nats:
|
||||
condition: service_started
|
||||
db:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
DB_USER: ${DB_USER:-osint}
|
||||
DB_PASSWORD: ${DB_PASSWORD:-osint}
|
||||
DB_HOST: db
|
||||
DB_PORT: ${DB_PORT:-5432}
|
||||
DB_NAME: ${DB_NAME:-osint_data}
|
||||
NATS_URL: ${NATS_URL:-nats://nats:4222}
|
||||
CAMERA_SOURCE_URLS: ${CAMERA_SOURCE_URLS:-}
|
||||
CAMERA_SCRAPE_INTERVAL: ${CAMERA_SCRAPE_INTERVAL:-3600}
|
||||
CAMERA_REQUEST_DELAY: ${CAMERA_REQUEST_DELAY:-2.0}
|
||||
NOMINATIM_URL: ${NOMINATIM_URL:-https://nominatim.openstreetmap.org}
|
||||
NOMINATIM_MIN_INTERVAL: ${NOMINATIM_MIN_INTERVAL:-1.1}
|
||||
SNAPSHOT_CACHE_DIR: /data/snapshots
|
||||
SNAPSHOT_TTL_SECONDS: ${SNAPSHOT_TTL_SECONDS:-300}
|
||||
command: ["python", "app/run_camera_service.py"]
|
||||
entrypoint: []
|
||||
volumes:
|
||||
- camera-snapshots:/data/snapshots
|
||||
|
||||
volumes:
|
||||
osint-pgdata:
|
||||
camera-snapshots:
|
||||
|
|
|
|||
Loading…
Reference in a new issue