Skip to content

Dockerized Development Environment for modern web applications, featuring NestJS API, Elasticsearch, Logstash, Kibana, Filebeat, PostgreSQL, Cadvisor, and Caddy. Spin up your development stack with ease using Docker Compose." Feel free to use this description for your GitHub repository.

License

walosha/Nestjs-Elasticsearch-Logstash-Kibana

Repository files navigation

Nestjs Elasticsearch,Logstash AND Kibana (ELK) Application

GitHub App with Docker Compose

This GitHub repository contains a Docker Compose configuration for setting up a development environment with the following services:

  • NestJS API
    • Database (typeorm).
    • Seeding.
    • Config Service (@nestjs/config).
    • Mailing (nodemailer).
    • Sign in and sign up via email.
    • Social sign in (Apple, Facebook, Google, Twitter).
    • Admin and User roles.
    • I18N (nestjs-i18n).
    • File uploads. Support local and Amazon S3 drivers.
    • Swagger.
    • E2E and units tests.
    • Docker.
    • CI (Github Actions).)
  • Elasticsearch
  • Logstash
  • Kibana
  • Filebeat
  • PostgreSQL
  • Cadvisor
  • Caddy

Prerequisites

Before you start using this Docker Compose configuration, ensure you have the following prerequisites installed on your system:

Getting Started

  1. Clone this repository to your local machine.
git clone <repository-url>
cd <repository-directory>
  1. Customize environment variables (if necessary) by modifying the .env file.

  2. Start the services using Docker Compose.

docker-compose up -d

The services will start running in the background.

Accessing Services

Customizing Configuration

You can customize the configuration for each service by editing the corresponding configuration files in the respective service folders (e.g., elasticsearch/config/elasticsearch.yml, logstash/config/logstash.yml, kibana/config/kibana.yml, etc.).

Monitoring

  • Cadvisor: Provides container monitoring accessible at http://localhost:8080
  • Stopping the Services To stop the services and remove the containers, run:
docker-compose down

Contributing

If you have any improvements or suggestions for this Docker Compose configuration, please feel free to contribute by creating a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

  • Olawale Afuye

Credits

@Brocoders @techvlad

About

Dockerized Development Environment for modern web applications, featuring NestJS API, Elasticsearch, Logstash, Kibana, Filebeat, PostgreSQL, Cadvisor, and Caddy. Spin up your development stack with ease using Docker Compose." Feel free to use this description for your GitHub repository.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published