xwiki, adjust white-space for markdownfmt
This commit is contained in:
parent
c5d2464ef6
commit
1ed00c21fd
|
|
@ -11,8 +11,9 @@ As an application wiki, XWiki allows for the storing of structured data and the
|
||||||
# Introduction
|
# Introduction
|
||||||
|
|
||||||
The goal is to provide a production-ready XWiki system running in Docker. This is why:
|
The goal is to provide a production-ready XWiki system running in Docker. This is why:
|
||||||
|
|
||||||
- The OS is based on Debian and not on some smaller-footprint distribution like Alpine
|
- The OS is based on Debian and not on some smaller-footprint distribution like Alpine
|
||||||
- Several containers are used with Docker Compose: one for the DB and another for XWiki + Servlet container. This allows the ability to run them on different machines for example.
|
- Several containers are used with Docker Compose: one for the DB and another for XWiki + Servlet container. This allows the ability to run them on different machines for example.
|
||||||
|
|
||||||
# How to use this image
|
# How to use this image
|
||||||
|
|
||||||
|
|
@ -28,17 +29,18 @@ Then there are several options:
|
||||||
## Pulling existing image
|
## Pulling existing image
|
||||||
|
|
||||||
You need to run 2 containers:
|
You need to run 2 containers:
|
||||||
|
|
||||||
- One for the XWiki image
|
- One for the XWiki image
|
||||||
- One for the database image to which XWiki connects to
|
- One for the database image to which XWiki connects to
|
||||||
|
|
||||||
The simplest is to use the Docker Compose file we provide. Run the following steps:
|
The simplest is to use the Docker Compose file we provide. Run the following steps:
|
||||||
|
|
||||||
- `wget https://raw.githubusercontent.com/xwiki-contrib/docker-xwiki/master/xwiki-mysql-tomcat/docker-compose-using.yml`
|
- `wget https://raw.githubusercontent.com/xwiki-contrib/docker-xwiki/master/xwiki-mysql-tomcat/docker-compose-using.yml`
|
||||||
- If you're not using the `latest` tag then use the corresponding GitHub branch/tag. For example for the `8.x` branch: `wget https://raw.githubusercontent.com/xwiki-contrib/docker-xwiki/8.x/xwiki-mysql-tomcat/docker-compose-using.yml`
|
- If you're not using the `latest` tag then use the corresponding GitHub branch/tag. For example for the `8.x` branch: `wget https://raw.githubusercontent.com/xwiki-contrib/docker-xwiki/8.x/xwiki-mysql-tomcat/docker-compose-using.yml`
|
||||||
- You can edit the compose file retrieved to change the default username/password and other environment variables.
|
- You can edit the compose file retrieved to change the default username/password and other environment variables.
|
||||||
- `docker-compose up`
|
- `docker-compose up`
|
||||||
|
|
||||||
For reference here's a minimal Docker Compose file using MySQL that you could use as an example (full example
|
For reference here's a minimal Docker Compose file using MySQL that you could use as an example (full example [here](https://github.com/xwiki-contrib/docker-xwiki/blob/master/xwiki-mysql-tomcat/docker-compose-using.yml)):
|
||||||
[here](https://github.com/xwiki-contrib/docker-xwiki/blob/master/xwiki-mysql-tomcat/docker-compose-using.yml)):
|
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
version: '2'
|
version: '2'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue