Docker
Containerize all things with BoxLang - Professional Docker images for development and production

BoxLang provides professional Docker images designed for both development and production use. Our containers are built on enterprise-grade base images with security patches, optimized for performance, and include comprehensive tooling for modern containerized applications.
π¦ Available Images
You can find all our published images and tags here: https://hub.docker.com/r/ortussolutions/boxlang.
Core Image Types
CLI Images: ortussolutions/boxlang:cli - Full BoxLang CLI runtime
MiniServer Images: ortussolutions/boxlang:miniserver - Lightweight web server
MiniServer + Nginx: ortussolutions/boxlang:miniserver-nginx - Production-ready with reverse proxy
Base Variants
Each image type is available in multiple variants:
Debian Linux (default) - Full-featured, enterprise-ready
Alpine Linux (
-alpinesuffix) - Minimal, security-focusedSnapshot versions (
-snapshotsuffix) - Latest development builds
π₯οΈ CLI Images
The CLI images contain the complete BoxLang CLI runtime, allowing you to run scripts, CLI applications, schedulers, and OS integrations. Perfect for development, CI/CD pipelines, and automated tasks.
Available CLI Tags
ortussolutions/boxlang:cli- Latest stable CLI on Debian Linuxortussolutions/boxlang:cli-alpine- Latest stable CLI on Alpine Linuxortussolutions/boxlang:cli-snapshot- Development snapshot on Debian Linuxortussolutions/boxlang:cli-alpine-snapshot- Development snapshot on Alpine Linux
CLI Usage Examples
π MiniServer Images
The MiniServer images contain the BoxLang MiniServer - a lightweight, high-performance web server designed for running BoxLang web applications, APIs, and microservices. Perfect for development, testing, and production deployments.
Available MiniServer Tags
ortussolutions/boxlang:miniserver- Latest stable MiniServer on Debian Linuxortussolutions/boxlang:miniserver-alpine- Latest stable MiniServer on Alpine Linuxortussolutions/boxlang:miniserver-snapshot- Development snapshot on Debian Linuxortussolutions/boxlang:miniserver-alpine-snapshot- Development snapshot on Alpine Linux
Key Features
Auto-serving: The MiniServer loads
/appas the webroot directoryDefault files: Automatically serves
index.bxmfilesURL Rewrites: Enabled by default with configurable rewrite files
Health checks: Built-in health monitoring for container orchestration
Hot reload: Development mode with automatic code reloading
MiniServer Usage Examples
Health Check
All MiniServer images include built-in health checks that monitor the server's status:
Interval: 20 seconds
Timeout: 30 seconds
Retries: 15 attempts before marking as unhealthy
Endpoint: Configurable via
HEALTHCHECK_URI(default:http://127.0.0.1:8080/)
π¦ Module Installation
The images include an automated module installer via the BOXLANG_MODULES environment variable. Modules are downloaded and installed at container startup.
Docker Compose Example
Available Modules
Common modules you can install:
bx-compat-cfml- ColdFusion/CFML compatibility layerbx-mysql- MySQL database connectivitybx-esapi- Enterprise Security APIbx-redis- Redis cache and session storagebx-mail- Email functionalitybx-derby- Derby database (development)
βοΈ Environment Variables
The following environment variables can be used to configure the BoxLang Docker images:
Core Configuration
BOXLANG_CONFIG_PATH- Path to BoxLang configuration file (default:/root/.boxlang/config/boxlang.json)BOXLANG_DEBUG- Enable debugging mode (default:false)BOXLANG_HOME- BoxLang installation home directory (default:/root/.boxlang)BOXLANG_HOST- Server host binding (default:0.0.0.0)BOXLANG_MODULES- Comma-separated list of modules to install (example:bx-compat-cfml,bx-mysql)BOXLANG_PORT- Server port binding (default:8080)
Server & Performance
DEBUG- Legacy debug mode flag (default:false)JAVA_OPTS- JVM options (default:-Djava.awt.headless=true)HEALTHCHECK_URI- Health check endpoint (default:http://127.0.0.1:${PORT}/)HOST- Server host (alias for BOXLANG_HOST)MAX_MEMORY- Maximum heap size (default:512m, example:2g)MIN_MEMORY- Minimum heap size (default:512m, example:1g)PORT- Server port (alias for BOXLANG_PORT)
Web Server Features
REWRITES- Enable URL rewrites (default:true)REWRITE_FILE- Rewrite configuration file (default:index.bxm)
BoxLang Environment Override
π Production: MiniServer with Nginx
For production deployments, we provide an experimental image combining BoxLang MiniServer with Nginx as a reverse proxy. This setup provides static file serving, SSL termination, and production-grade performance optimizations.
Experimental Feature: The Nginx integration is currently experimental and not recommended for critical production workloads. Use with caution and thorough testing.
Available Tags
ortussolutions/boxlang:miniserver-nginx- Nginx + MiniServer on Debian Linux
Nginx Configuration
HTTP Port: 80 (configurable via
NGINX_PORT)HTTPS Port: 443 (configurable via
NGINX_SSL_PORT)SSL Certificate: Self-signed certificate included
Custom SSL: Mount your certificates to
/etc/nginx/ssl/Optimizations: Production-tuned Nginx configuration for BoxLang
Custom SSL Certificates
Nginx Environment Variables
NGINX_PORT- HTTP port for Nginx (default:80)NGINX_SSL_PORT- HTTPS port for Nginx (default:443)
π§ Source Code & Contributing
Docker Images Repository
The complete source code for all BoxLang Docker images is available at: https://github.com/ortus-boxlang/boxlang-docker
This repository contains:
Dockerfiles for all image variants
Build scripts and automation
Nginx configurations for production deployments
Testing infrastructure and examples
Documentation and contribution guidelines
Image Build Process
Base Images: Eclipse Temurin JRE 21 (Debian Noble & Alpine)
Security: Regular security updates and dependency patching
Installation: Uses BoxLang's official quick installer
Optimization: Multi-stage builds for minimal image sizes
Testing: Automated testing for all image variants
Contributing
We welcome contributions to improve the Docker images:
Issues: Report bugs or request features in the GitHub repository
Pull Requests: Follow the contributing guidelines in the repo
Documentation: Help improve documentation and examples
Testing: Test images in different environments and report feedback
Professional Support: For enterprise Docker deployments, BoxLang+ and BoxLang++ subscribers receive priority support, custom image builds, and deployment assistance. Visit boxlang.io/plans for more information.
Last updated
Was this helpful?
