These are test environments for Masa CMS.
The easiest way to start a test environment is using the Makefile:
- GIT
- Docker
- Docker compose
- Commandbox CLI
- Clone Masa CMS into this project:
git clone git@github.com:MasaCMS/MasaCMS.git masacms
Simply run make to get an interactive menu:
$ make
╔════════════════════════════════════════╗
║ MasaCMS Test Environment Setup ║
╔════════════════════════════════════════╗
Select Database:
1) MySQL
2) MariaDB
3) PostgreSQL
4) MSSQL
Enter database choice (1-4): 1
Select ColdFusion Engine:
1) Lucee
2) BoxLang
3) Adobe ColdFusion
Enter engine choice (1-3): 3
Select Adobe ColdFusion Version:
1) ColdFusion 2021
2) ColdFusion 2023
3) ColdFusion 2025
4) Latest
Enter version choice (1-4): 3
Starting mysql database and Adobe ColdFusion cf25...
✓ MySQL is running on port 3306
✓ Adobe ColdFusion cf25 is running on http://localhost:18081Note: When selecting Adobe ColdFusion, you'll be prompted to choose a version. This does not apply to Lucee or BoxLang engines.
Start a specific database + CF engine combination:
# Lucee combinations
make lucee-mysql
make lucee-mariadb
make lucee-postgres
make lucee-mssql
# BoxLang combinations
make boxlang-mysql
make boxlang-mariadb
make boxlang-postgres
make boxlang-mssql
# Adobe ColdFusion combinations
make adobe-mysql
make adobe-mariadb
make adobe-postgres
make adobe-mssql
# Adobe with specific version
make adobe-mysql CF_VERSION=cf21 # ColdFusion 2021
make adobe-mysql CF_VERSION=cf23 # ColdFusion 2023 (default)
make adobe-mysql CF_VERSION=cf25 # ColdFusion 2025
make adobe-mysql CF_VERSION=latest # Latest versionmake mysql # Port 3306
make mariadb # Port 3307
make postgres # Port 5432
make mssql # Port 1433# Stop all running containers (keeps containers)
make stop
# Stop and remove all containers (keeps volumes)
make down
# Remove everything: containers, volumes, and network
make clean# Start MySQL and Lucee
make lucee-mysql
# Visit http://localhost:18181
# Start MariaDB and Adobe ColdFusion 2025
make adobe-mariadb CF_VERSION=cf25
# Visit http://localhost:18080
# Start MySQL and Adobe ColdFusion 2021
make adobe-mysql CF_VERSION=cf21
# Visit http://localhost:18081
# Start PostgreSQL and BoxLang
make boxlang-postgres
# Visit http://localhost:18282
# Start MariaDB and Adobe ColdFusion (default: 2023)
make adobe-mariadb
# Visit http://localhost:18080
# When done, stop everything
make down- Open a terminal
- Navigate to the folder of the desired database (for example: /mariadb/)
- Start the database:
docker compose up -d - Navigate to the folder of the desired cfml engine (for example: /lucee/mariadb/)
- Start the cfml engine:
docker compose up -d - Open
http://localhost:{portnumber}in the browser
- MySQL: 18181
- MariaDB: 18180
- PostgreSQL: 18182
- MSSQL: 18183
- MySQL: 18281
- MariaDB: 18280
- PostgreSQL: 18282
- MSSQL: 18283
- MySQL: 18081
- MariaDB: 18080
- PostgreSQL: 18082
- MSSQL: 18083
- MySQL: 3306
- MariaDB: 3307
- PostgreSQL: 5432
- MSSQL: 1433
If you encounter issues:
-
Port conflicts: Check if ports are already in use on unix-based systems:
lsof -i :3306 # Check MySQL port lsof -i :18181 # Check Lucee port
on windows-based systems (as Administrator):
netstat -ab
this shows a list of applications and ports used
-
Network issues: Recreate the network
make clean make network
-
View logs: Use docker compose logs
cd lucee/mysql docker compose logs -f -
Full cleanup: Remove everything and start fresh
make clean make lucee-mysql # Or your preferred combination
- Install testbox in Masa CMS:
cd masacms && box install - Start the desired environment
- Open
http://localhost/core/tests/runner.cfmin the browser
- admin username:
admin - admin password:
admin - reload key:
appreload
- administrator url:
http://localhost/CFIDE/administrator/index.cfm - administrator password:
password
- administrator url:
http://localhost/lucee/admin/server.cfm - administrator password:
password
- host:
localhost:3307 - user:
root - password:
rootpassword
- host:
localhost:3306 - user:
root - password:
rootpassword
- host:
localhost:5432 - user:
root - password:
rootpassword
- host:
localhost:1433 - user:
sa - password:
sup3r_passw0rd