From e3d0bf6b34174e182d3ae73cf8a7edf679ae3f30 Mon Sep 17 00:00:00 2001 From: jtscott Date: Wed, 16 Nov 2016 19:13:48 -0700 Subject: [PATCH] fixed formatting --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 17d9de4..006c48f 100644 --- a/README.md +++ b/README.md @@ -7,12 +7,19 @@ This dockerfile will build a new installation of [Pancake App](https://www.panca # Usage 1. Build the image + `docker build -t docker-pancake:latest .` + 2. Run the download script to unpack pancake into your mounted volume. + `docker run -v /data/pancake:/var/www/html --rm docker-pancake:latest /opt/download-pancake.sh PAN-YOURLICENSEHERE` + 3. Run a MySQL Container + `docker run -d --restart="always" --name mysql-pancake -e MYSQL_ROOT_PASSWORD=YOURPASSWORDHERE -v /data/mysql-pancake:/var/lib/mysql -v /etc/localtime:/etc/localtime:ro mysql:latest` + 4. Login to MySQL and create a Pancake database user + `docker exec -it mysql-pancake /bin/bash -c "export TERM=xterm; exec bash"` ~~~~ mysql -u root -p