Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 1.22 KB

README.md

File metadata and controls

26 lines (21 loc) · 1.22 KB

dune2snowflake

GitHub all releasesGitHub pull requestsGitHub forksGitHub Repo starsGitHub last commit

A Python script to load data from Dune query to Postgresql/Snowflake

How to use

  • Install docker and docker compose
  • Run the docker command below with variables updated
  docker run \
  --name dune2snow \
  --network steakhouse \
  --detach \
  -e CONNECTION_STRING=postgresql://postgres:passwsord@postgres:5432/db \
  -e SCHEMA=<DB Schema> \
  -e DUNE_API_KEY=<API Key> \
  -e TABLE_NAME=<Table name to load the data> \
  -e DUNE_QUERY_ID=<Dune Query ID> \
  -e SMTP_PASSWORD=<SMTP Password to send notifications> \
  -e SMTP_SENDER="<sender email>" \
  -e UPTIME_URL="<Uptime-kuma URL>" \
   bloodyburger/dune2snow:latest