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)
Installation Links
Verify your installation:
docker --version
docker-compose --version
Docker Architecture
The ColibriPlus Docker setup consists of the following services:
Service | Description | Port | Container Name |
---|---|---|---|
nginx | Web server and reverse proxy | 80:80 | colibriplus-nginx |
colibriplus | Main Laravel application (PHP-FPM) | 9000 | colibriplus-app |
database | MySQL database server | 3306:3306 | colibriplus-db |
node | Node.js for asset compilation (Vite) | 5173:5173 | colibriplus-node |
horizon | Laravel Horizon queue worker | - | colibriplus-horizon |
redis | Redis cache and session store | 6379:6379 | colibriplus-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
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.