update readme for release choice

add specific release choice
pull/5/head
sylvainrolland 8 years ago committed by GitHub
parent b7174c8e45
commit 652e9ef9ee

@ -2,7 +2,7 @@
[![](https://images.microbadger.com/badges/version/diouxx/glpi.svg)](http://microbadger.com/images/diouxx/glpi "Get your own version badge on microbadger.com") [![](https://images.microbadger.com/badges/image/diouxx/glpi.svg)](http://microbadger.com/images/diouxx/glpi "Get your own image badge on microbadger.com") [![](https://images.microbadger.com/badges/version/diouxx/glpi.svg)](http://microbadger.com/images/diouxx/glpi "Get your own version badge on microbadger.com") [![](https://images.microbadger.com/badges/image/diouxx/glpi.svg)](http://microbadger.com/images/diouxx/glpi "Get your own image badge on microbadger.com")
Install and run an GLPI instance with docker Install and run an GLPI instance with docker.
## Deploy GLPI without database ## Deploy GLPI without database
```sh ```sh
@ -32,6 +32,14 @@ docker run --name glpi --hostname glpi --link mysql:mysql --volumes-from glpi-da
Enjoy :) Enjoy :)
## Deploy a specific release of GLPI
Default, docker run will use the latest release of GLPI.
For an usage on production environnement, it's recommanded to use the latest release.
Here an example for release 9.1.6 :
```sh
docker run --name glpi --hostname glpi --link mysql:mysql --volumes-from glpi-data -p 80:80 --e "VERSION_GLPI=9.1.6" -d diouxx/glpi
```
## Deploy with docker-compose ## Deploy with docker-compose
To deploy with docker compose, you use *docker-compose.yml* and *mysql.env* file. To deploy with docker compose, you use *docker-compose.yml* and *mysql.env* file.

Loading…
Cancel
Save