diff --git a/README.md b/README.md index 7fe9c5e9b0fa613b217de2370a5c0979c5c405b0..d39946bfb0ec34c905f782d398c2c89a02e0635e 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -# WCMS Vagrantfile for Docker setup +# WCMS Docker setup -**CAUTION!** This Vagrant box is meant for local development only. This set up is not hardened and is not secure, so +**CAUTION!** This Docker box is meant for local development only. This set up is not hardened and is not secure, so only us it as a local development environment. To run the dockerfile: @@ -10,6 +10,21 @@ To run the dockerfile: docker build -t dockerfile . ``` +Just capturing this here... + +Use docker-compose instead of docker build. Need to have a docker-compose.yml file and reference any other files in a docker folder (or whatever you want to name it). + +To build using docker-compose: + +```bash + docker-compose up -d +``` +To check that all the boxes are running: + +```bash + docker-compose ps +``` + Running **setup.sh** creates a Vagrantfile that will allow you to create a Docker box that (currently) runs Ubuntu 16.04 LTS with Apache 2.4.18, MySQL 5.7 and PHP 5.6.19/7.1.6 as well as Drupal currently at 7.59/8.5. Please note, this setup only allows local logins to sites. CAS doesn't work "out of the box". You will need to add an additional file if you require CAS which you will need to contact a WCMS team member to get.