Skip to content

Docker Deployment

ColibriPlus comes with a base Docker setup for easy deployment. The Docker configuration includes all necessary services including the ColibriPlus application, Nginx web server, MySQL database, Redis cache, Node.js for asset compilation, Laravel Horizon for queue processing.

Prerequisites

Before you begin, ensure you have the following installed on your system:

  • Docker Engine (version latest stable)
  • Docker Compose (version latest stable)

Verify your installation:

bash
docker --version
docker-compose --version

Docker Architecture

The ColibriPlus Docker setup consists of the following services:

ServiceDescriptionPortContainer Name
nginxWeb server and reverse proxy80:80colibriplus-nginx
colibriplusMain Laravel application (PHP-FPM)9000colibriplus-app
databaseMySQL database server3306:3306colibriplus-db
nodeNode.js for asset compilation (Vite)5173:5173colibriplus-node
horizonLaravel Horizon queue worker-colibriplus-horizon
redisRedis cache and session store6379:6379colibriplus-redis

Deployment

This guide assumes you have already downloaded the ColibriPlus archive and have uploaded it to your server domain root directory, as described in Installation Guide.

Build containers

bash
docker-compose -f docker-compose-production.yml up -d --build

It will take a while to build the containers, because it will install all the dependencies and compile the assets.

If everything is done correctly, you should see message about successful build and running of the containers.

Developed by Mansur Terla. www.terla.me