Docker compose is a tool for defining and running multi-container (Skedler Reports, Elasticsearch and Kibana) Docker applications. With Compose, you use a YAML file to configure your application’s services. Then with a single command, you create and start all the services from your configuration.
In this section, I will describe how to create containerized installation for Skedler Reports, Elasticsearch and Kibana.
Step 1: Define services in a Compose file:
Create a file called docker-compose.yml in your project directory and paste the following
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
This Compose file defines three services, Skedler Reports, Elasticsearch and Kibana.
Step 2: Basic configurations using reporting.yml and kibana.yml
Create a files called reporting.yml in your project directory.
Getting the reporting.yml file found here
Note: For more configuration options kindly refer the article reporting.yml and ReportEngineOptions Configuration
Create a files called kibana.yml in your project directory.
Note: For more configuration options kindly refer the article kibana.yml
Step 3: Build and run your app with docker-compose
From your project directory, start up your application by running
sudo docker-compose up -d
Compose pulls a Skedler Reports, Elasticsearch and Kibana images, builds an image for your code, and starts the services you defined
Skedler Reports is available at http://<hostIP>:3000, Elasticsearch is available at http://<hostIP>:9200 and Kibana is available at http://<hostIP>:5601 .
Docker compose is a useful tool to manage container stacks for your client. And manage all related containers with one single command.
Subscribe To Receive The Latest Insights