From 31aa4677299859168cb5f2861c93ca5709dd6d3a Mon Sep 17 00:00:00 2001
From: Vincent Massol <vincent@massol.net>
Date: Wed, 28 Mar 2018 15:30:15 +0200
Subject: [PATCH] [Misc] apply formatting for dockerhub

---
 README.md | 34 +++++++++++++++++++---------------
 1 file changed, 19 insertions(+), 15 deletions(-)

diff --git a/README.md b/README.md
index ed1b55c..05553c3 100644
--- a/README.md
+++ b/README.md
@@ -195,22 +195,25 @@ volumes:
 Here are some examples of using this image with Docker Swarm. These examples leverage additional features of Docker Swarm such as Docker secrets, and Docker configs. As such, these examples require Docker to be in swarm mode.
 
 You can read more about these features and Docker swarm mode here:
-- [Docker swarm mode](https://docs.docker.com/engine/swarm/)
-- [Creating Docker secrets](https://docs.docker.com/engine/reference/commandline/secret_create/)
-- [Creating Docker configs](https://docs.docker.com/engine/reference/commandline/config_create/)
+
+-	[Docker swarm mode](https://docs.docker.com/engine/swarm/)
+-	[Creating Docker secrets](https://docs.docker.com/engine/reference/commandline/secret_create/)
+-	[Creating Docker configs](https://docs.docker.com/engine/reference/commandline/config_create/)
 
 #### MySQL Example
 
 This example presupposes the existence of the Docker secrets `xwiki-db-username`, `xwiki-db-password` and `xwiki-db-root-password`, and the Docker config `xwiki-mysql-config`.
 
 You can create these secrets and configs with the following:
-- `echo ${MY_XWIKI_USER:-xwiki} | docker secret create xwiki-db-username -`
-- `echo $(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1) | docker secret create xwiki-db-password -`
-- `echo $(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1) | docker secret create xwiki-db-root-password -`
-- `docker config create xwiki-mysql-config /path/to/mysql/xwiki.cnf`
 
-To deploy this example, save the following YAML as _xwiki-stack.yaml_ then run:
-- `docker stack deploy -c xwiki-stack.yaml xwiki`
+-	`echo ${MY_XWIKI_USER:-xwiki} | docker secret create xwiki-db-username -`
+-	`echo $(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1) | docker secret create xwiki-db-password -`
+-	`echo $(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1) | docker secret create xwiki-db-root-password -`
+- 	`docker config create xwiki-mysql-config /path/to/mysql/xwiki.cnf`
+
+To deploy this example, save the following YAML as `xwiki-stack.yaml`, then run:
+
+-	`docker stack deploy -c xwiki-stack.yaml xwiki`
 
 ```yaml
 version: '3.3'
@@ -269,12 +272,14 @@ configs:
 This example presupposes the existence of the Docker secrets `xwiki-db-username`, `xwiki-db-password`, and `xwiki-db-root-password`.
 
 You can create these secrets with the following:
-- `echo ${MY_XWIKI_USER:-xwiki} | docker secret create xwiki-db-username -`
-- `echo $(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1) | docker secret create xwiki-db-password -`
-- `echo $(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1) | docker secret create xwiki-db-root-password -`
 
-To deploy this example, save the following YAML as _xwiki-stack.yaml_ then run:
-- `docker stack deploy -c xwiki-stack.yaml xwiki`
+-	`echo ${MY_XWIKI_USER:-xwiki} | docker secret create xwiki-db-username -`
+-	`echo $(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1) | docker secret create xwiki-db-password -`
+-	`echo $(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1) | docker secret create xwiki-db-root-password -`
+
+To deploy this example, save the following YAML as `xwiki-stack.yaml` then run:
+
+-	`docker stack deploy -c xwiki-stack.yaml xwiki`
 
 ```yaml
 version: '3.3'
@@ -321,7 +326,6 @@ secrets:
       name: xwiki-db-root-password
 ```
 
-
 ## Building
 
 This allows you to rebuild the XWiki docker image locally. Here are the steps:
-- 
GitLab