mirror of
https://github.com/DiouxX/docker-glpi.git
synced 2026-11-04 22:52:32 -05:00
update readme for release choice
add specific release choice
This commit is contained in:
1 parent
b7174c8e45
commit
652e9ef9ee
1 file changed
+9
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
[](http://microbadger.com/images/diouxx/glpi "Get your own version badge on microbadger.com") [](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
|
||||
```sh
|
||||
@@ -32,6 +32,14 @@ docker run --name glpi --hostname glpi --link mysql:mysql --volumes-from glpi-da
|
||||
|
||||
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
|
||||
|
||||
To deploy with docker compose, you use *docker-compose.yml* and *mysql.env* file.
|
||||
|
||||
Reference in new issue
Block a user