7 Commits
Author SHA1 Message Date
DiouxX 466c6800d0 Add version 9.1.3 2017-05-15 11:40:46 +02:00
DiouxX 5cbdd069d3 Spelling error#3 persitance -> persistance 2017-05-05 07:48:33 +02:00
DiouxX dd37b587ff Bug Fix#2 LDAPS authentification 2017-04-28 12:08:11 +02:00
DiouxX cbe50a7c82 Merge branch '9.1.2'
Modify glpi download link for 9.1.2 because archive format change from tar.gz to tgz
2017-04-26 17:04:43 +02:00
DiouxX d201069462 Update Glpi link download tar.gz -> tgz 2017-04-26 17:03:44 +02:00
DiouxX df9c2fe638 Automatic restart glpi container 2017-04-26 16:14:29 +02:00
DiouxX 20b9c7c80a Add version 9.1.2 2017-03-29 14:07:06 +02:00
3 changed files with 12 additions and 4 deletions

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ docker run --name glpi -p 80:80 -d diouxx/glpi
docker run --name glpi --link yourdatabase:mysql -p 80:80 -d diouxx/glpi docker run --name glpi --link yourdatabase:mysql -p 80:80 -d diouxx/glpi
``` ```
## Deploy GLPI with database and persitance container data (Recommended) ## Deploy GLPI with database and persistance container data (Recommended)
For an usage on production environnement or daily usage, it's recommanded to use a data container for persistent data. For an usage on production environnement or daily usage, it's recommanded to use a data container for persistent data.
+1
View File
@@ -33,3 +33,4 @@ glpi:
- mysql:mysql - mysql:mysql
volumes_from: volumes_from:
- glpi-data - glpi-data
restart: always
+10 -3
View File
@@ -1,11 +1,18 @@
#!/bin/bash #!/bin/bash
VERSION_GLPI=9.1 VERSION_GLPI=9.1.3
SRC_GLPI=https://github.com/glpi-project/glpi/releases/download/${VERSION_GLPI}/glpi-${VERSION_GLPI}.tar.gz SRC_GLPI=https://github.com/glpi-project/glpi/releases/download/${VERSION_GLPI}/glpi-${VERSION_GLPI}.tgz
TAR_GLPI=glpi-${VERSION_GLPI}.tar.gz TAR_GLPI=glpi-${VERSION_GLPI}.tgz
FOLDER_GLPI=glpi/ FOLDER_GLPI=glpi/
FOLDER_WEB=/var/www/html/ FOLDER_WEB=/var/www/html/
#check if TLS_REQCERT is present
if !(grep -q "TLS_REQCERT" /etc/ldap/ldap.conf)
then
echo "TLS_REQCERT isn't present"
echo -e "TLS_REQCERT\tnever" >> /etc/ldap/ldap.conf
fi
#Téléchargement et extraction des sources de GLPI #Téléchargement et extraction des sources de GLPI
if [ "$(ls ${FOLDER_WEB}${FOLDER_GLPI})" ]; if [ "$(ls ${FOLDER_WEB}${FOLDER_GLPI})" ];
then then