MIDLEO Blog

Docker® support for Midleo® application

Docker® support for Midleo® application

You can use MIDLEO® application on Docker containers.

Docker is a software that can package your application, its dependencies, system tools, system libraries and settings in a single comprehensive virtual container. This combined package, which contains everything that’s needed to run your application, is called a Docker container image. This image is a standalone, executable software package which runs reliably on any server — Linux, Windows, macOS, public cloud or private cloud. Also, these images can be used to run the application as an isolated process in user space.

MIDLEO can use various database software - Oracle, Mysql, DB2, MSSQL, PostgreSQL, that is why it is very flexible when choosing the Docker images.
For the example we are using - MariaDB, Nginx and PHP-fpm, mailserver can be added as well.

You can download the Docker configuration from our Gitlab public repository.
To have the environment up and running, you need license key.

  • docker-compose.yml

version"3.8"
services:
    web:
        imagenginx:latest
        ports:
           - "8080:80"
           - '4443:443'
        volumes:
           - ./content:/content
           - ./cloud_data/nginx.conf:/etc/nginx/conf.d/default.conf
.
.
.
volumes:
    cloud_data:

  • nginx.conf

server {
    index index.php index.html;
    server_name midleo.local;
    error_log  /var/log/nginx/error.log;
    access_log /var/log/nginx/access.log;
    root /content;.
.
.





Vasil Vasilev

Middleware Engineer

IT expert in the IBM, AWS, DevOps, Automation, IoT field. Work on problems of diverse scope, including evaluating different factors to analyze data.Manage different projects, including project status, issues, collaboration between teams.Support business and propose new, more efficient solutions for project management, automation, collaboration.