Git Product home page Git Product logo

lucee-docker-workbench's Introduction

Lucee Docker Workbench

Docker workbench project template for a Lucee development pipeline; export files to use as the base for Lucee development in a containerised world.

For more information on this Docker Workbench project format, see the Daemonite Docker Workbench Project

Installation

Dependencies: Running docker-machine, see https://github.com/justincarter/docker-workbench

git clone --recursive https://github.com/modius/lucee-docker-workbench
cd lucee-docker-workbench
docker-compose up

The location depends on your set up but it will either be the VMs IP address or the workbench URL if you are using for Lucee development:

open http://lucee.192.168.99.100.nip.io/

Lucee admin is open (ie. insecure) and uses the password docker:

open http://lucee.192.168.99.100.nip.io/lucee/admin/web.cfm

Anatomy of the Project

The project structure provides an environment for local Docker development, and a process for building images for production deployment.

lucee-docker-workbench/
├── docker-compose.yml
├── Dockerfile
├── LICENSE
├── README.md
├── code (-> git submodule)
├── config
│   ├── lucee
│   │   └── lucee-web.xml.cfm
│   └── nginx
│       ├── conf.d
│       │   └── default.conf
│       └── nginx.conf
└── logs
    ├── lucee
    ├── nginx
    ├── supervisor
    └── tomcat

docker-compose.yml Defines how your container should spin up; including environment variables and volumes.

./Dockerfile A sample Dockerfile for building a Lucee application. Use this to build an image externally for deployment. Make sure that the contents of code are replicated here otherwise your container will only work locally.

./code The code directory is set up as a git submodule pointing to a simple lucee test app. Change this to reflect the code base you want to develop with. Anything under the code directory is sync'd into the container via a volume to allow development.

Note, you will need to update your Dockerfile with the same code base in order to build your image for deployment.

./config Config files for customising the container. The container needs to be re-built any time you make changes to these configuration files.

./logs The example container will automatically write logs into this directory tree to make development easier. Logs are transient and should never be committed to the repo. The logs are mapped via the volumes nominated in the docker-compose.yml.

lucee-docker-workbench's People

Contributors

modius avatar

Watchers

James Cloos avatar Clayton Davis 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.