fixed formatting
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user