Skip to content

Latest commit

 

History

History
94 lines (66 loc) · 2.66 KB

File metadata and controls

94 lines (66 loc) · 2.66 KB

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