Skip to content
Snippets Groups Projects
Commit adacfba2 authored by Chris Shantz's avatar Chris Shantz
Browse files

Update README.md

parent c70511db
No related branches found
No related tags found
No related merge requests found
# 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. only us it as a local development environment.
To run the dockerfile: To run the dockerfile:
...@@ -10,6 +10,21 @@ To run the dockerfile: ...@@ -10,6 +10,21 @@ To run the dockerfile:
docker build -t 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. 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. 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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment