Giter VIP home page Giter VIP logo

lucee-docker's Introduction

lucee-docker

A Docker container for CFWheels applications running on Lucee, Ubuntu, and Nginx.

What you get

  • Ready (and intended) for use with Docker Compose in development
  • Lucee scripting engine
  • Latest version of CFWheels, modified to use environment variables for configuration
  • Docker-optimized Ubuntu via Baseimage-docker
  • Nginx web server with URL rewriting enabled for CFWheels

Development requirements

You must have the following installed on your development machine:

  • Docker
  • Docker Compose
  • RDBMS compatible with CFWheels

Installation

  1. Download the source and unzip anywhere on your system where you want to do development.
  2. In Dockerfile, change the railopass option to something secure.
  3. Copy the contents of 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.)
  4. In docker-compose.yml:
    1. Configure values for your data source (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.
    2. Configure SMTP server settings (if any) according to attributes in <cfmail> tag. (You can safely remove settings not in use.)
    3. Add any other environment-specific settings that you'd like for your development environment.
  5. From the project root, run docker-compose build. Docker will install and configure Ubuntu, Nginx, and Lucee.

Running the application

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.

lucee-docker's People

Contributors

chapmandu avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.