From e2b429df4f5d8e71e858e2d07c0863028b0859dd Mon Sep 17 00:00:00 2001 From: Chris Shantz <mnshantz@uwaterloo.ca> Date: Thu, 13 Sep 2018 22:33:40 -0400 Subject: [PATCH] Added readme to this branch. --- readme.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 readme.md diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..5175330 --- /dev/null +++ b/readme.md @@ -0,0 +1,32 @@ +# WCMS Docker setup + + +**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. + +First we need to build the images: + +```bash + docker-compose build --no-cache +``` +Once that's done you can create the containers, running with -d runs them in detached mode: + +```bash + docker-compose up -d +``` +To check that all the boxes are running: + +```bash + docker-compose ps +``` + +portainer can be accessed at :9000 you can use this to easily log in to the web container to run the profile rebuild etc. + + +If you get an error running docker-compose related to `wincred` got to `~/.docker/config.json` and remove the `"credstore":"wincred"` but leave the curly braces `{}` and save the file. + +To check the ip address of your docker machine: + +```bash + docker-machine ip default +``` \ No newline at end of file -- GitLab