hyperswitch icon indicating copy to clipboard operation
hyperswitch copied to clipboard

feat(clickhouse): Init Clickhouse container on startup

Open lsampras opened this issue 1 year ago • 0 comments

Type of Change

  • [ ] Bugfix
  • [ ] New feature
  • [x] Enhancement
  • [ ] Refactoring
  • [ ] Dependency updates
  • [ ] Documentation
  • [ ] CI/CD

Description

  • Add initialization scripts for clickhouse
  • these scripts will auto run on container creation saving user hassle for creating tables
  • Adding dashboard & SDK services to docker compose

Additional Changes

  • [ ] This PR modifies the API contract
  • [ ] This PR modifies the database schema
  • [ ] This PR modifies application configuration/environment variables

Motivation and Context

How did you test it?

docker compose up -d clickhouse-server

then open http://localhost:8123/play & execute query show tables

image

Checklist

  • [ ] I formatted the code cargo +nightly fmt --all
  • [ ] I addressed lints thrown by cargo clippy
  • [ ] I reviewed the submitted code
  • [ ] I added unit tests for my changes where possible
  • [ ] I added a CHANGELOG entry if applicable

lsampras avatar Apr 15 '24 19:04 lsampras