Sign inSign up

zacharlie/dbstack-watchdog

By zacharlie

•Updated over 4 years ago

Spatial DBStack geodata file watcher using python watchdog and GDAL

Image
0

226

zacharlie/dbstack-watchdog repository overview

Watchdog image for monitoring changes to filesystem that automatically manages the ingestion of spatial data types (Currently limited to shp/ geojson).

Requires database connection to function. All data ingested into the first schema supplied by comma separated list. Windows/ WSL users will require a polling observer (example available in source repo).

https://github.com/zacharlie/spatial-dbstack⁠

example compose config:

    image: zacharlie/dbstack-watchdog
    build:
      args:
        TARGET: "/data/vector"
      context: .
      dockerfile: watchdog-dockerfile
    environment:
      - STARTUP_DELAY=5
      - POSTGRES_DB=${POSTGRES_DB}
      - POSTGRES_USER=${POSTGRES_USER}
      - POSTGRES_PASS=${POSTGRES_PASS}
      - SCHEMAS=${PGRST_DB_SCHEMAS}
    volumes:
      - "./data/vector:/data/vector"
    depends_on:
      - db

Tag summary

Content type

Image

Digest

Size

405.5 MB

Last updated

over 4 years ago

docker pull zacharlie/dbstack-watchdog