- From the root directory
$ cd docker-compose
$ docker compose -f common.yml -f kafka_cluster.yml up- From the root directory
$ cd docker-compose
$ docker compose -f common.yml -f elastic_cluster.yml up- From the root directory
$ cd docker-compose
$ docker compose -f common.yml -f postgresql.yml up- From the root directory
$ cd docker-compose
$ docker compose -f common.yml -f redis_cluster.yml up- From the root directory
$ cd docker-compose
$ docker compose -f common.yml -f monitoring.yml up| App / Features / Resources | Host & Port | Username | Password |
|---|---|---|---|
| Postgresql | http://localhost:5432 | postgres |
password |
| View Prometheus Registered Targets | http://localhost:9090/targets | ||
| Grafana Dashboard | http://localhost:3000 | user |
password |
| Prometheus Server Url | http://prometheus:9090 | ||
| Kibana | http://localhost:5601 |
- Inspect running containers
$ docker ps- To run services in docker
$ cd docker-compose
$ docker compose -f common.yml -f services.yml up
$ docker compose -f common.yml -f kafka_cluster.yml -f services.yml up- Monitor Kafka cluster and topics
$ docker run -it --network=host confluentinc/cp-kafkacat kafkacat -L -b localhost:19092- View the messages as received by kafka consumer
$ kafkacat -C -b localhost:19092 -t twitter-topicRun below command to make it an executable file
$ chmod +x check-config-server-started.shTo Do:
- Add rate limiting with redis
- Add OAuth2.0 security
- Docker compose support