Skip to content

mikegottlieb84/simple-project

 
 

Repository files navigation

es-simple-cluster

A multi-container cluster using docker-compose, including the basic services that are part of the EarthScope environment.

See docs for general documentation.

Running in Docker Compose

From the root of this project run:

docker compose up -d

See Installation for more.

Services

Ideally, every available service should be included in this project, but for any particular bit of development most of them should probably be commented out for size/performance.

  • broker (core)
    • Kafka broker
  • zookeeper (core)
    • Kafka zookeeper
  • schema-registry (core)
    • Kafka schema registry
  • nginx (core)
    • external web interface
  • vouch-proxy
    • provides CILogon authentication for the nginx server
  • postgres
    • postgres database
  • redis
    • redis key/value store
  • prometheus
    • metrics backend
  • grafana
    • metrics front end
  • examples

Volumes

For the most part, you only need volumes when you want persistent or shared data.

  • web-static
    • Static web content produced by Django, surfaced by nginx
  • kafka-data
    • Data backend for the broker
    • Disabled by default to avoid kafka errors
  • postgres-data
    • Storage for postgres
  • prometheus
    • Storage for prometheus
  • grafana
    • Storage for grafana (ie. user accounts, dashboards)

/avro_schemas

For now, AVRO schemas are shared through a file mount.

This path typically gets passed to components like:

volumes:
  - ./avro_schemas:/avro_schemas:ro
environment:
  - AVRO_SCHEMAS_ROOT=/avro_schemas

About

A base project for development

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 70.7%
  • CSS 14.3%
  • HTML 11.9%
  • Shell 3.1%