A Docker container for CFWheels applications running on Lucee, Ubuntu, and Nginx.
You must have the following installed on your development machine:
Dockerfile
, change the railopass
option to something secure.docker-compose.yml.sample
into a new file called docker-compose.yml
. (Note: do not delete
the sample file after doing this because it stays in source control.)docker-compose.yml
:
DB_TYPE
, DB_HOST
, etc.) according to
Lucee's format for Application.cfc. It is recommended that you connect to a database on your host system
via your LAN IP address.<cfmail>
tag. (You can safely remove
settings not in use.)docker-compose build
. Docker will install and configure Ubuntu, Nginx, and Lucee.From the project root, run this command:
$ docker-compose up
You then can access your project at http://192.168.59.103:3000/
.
(Note: if you can't connect to your application, try running boot2docker ip
to make sure you should in fact be
hitting the standard 192.168.59.103
IP address.)
To stop the application, press Ctrl + C
.