9 Commits
Author SHA1 Message Date
DiouxX 8c7fe25f3d Change php version with debian stretch and add php extensions 2017-07-11 12:18:02 +02:00
DiouxX 3b77fe8f27 Add version 9.1.4 2017-07-11 11:51:41 +02:00
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
4 changed files with 22 additions and 11 deletions

No files matched your search

+10 -7
View File
@@ -10,14 +10,17 @@ ENV DEBIAN_FRONTEND noninteractive
RUN apt update \
&& apt -y install \
apache2 \
php5 \
php5-mysql \
php5-ldap \
php5-xmlrpc \
php5-imap \
php \
php-mysql \
php-ldap \
php-xmlrpc \
php-imap \
curl \
php5-curl \
php5-gd \
php-curl \
php-gd \
php-mbstring \
php-xml \
php-apcu-bc \
wget
#Copie et execution du script pour l'installation et l'initialisation de GLPI
+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
```
## 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.
+1
View File
@@ -33,3 +33,4 @@ glpi:
- mysql:mysql
volumes_from:
- glpi-data
restart: always
+10 -3
View File
@@ -1,11 +1,18 @@
#!/bin/bash
VERSION_GLPI=9.1
SRC_GLPI=https://github.com/glpi-project/glpi/releases/download/${VERSION_GLPI}/glpi-${VERSION_GLPI}.tar.gz
TAR_GLPI=glpi-${VERSION_GLPI}.tar.gz
VERSION_GLPI=9.1.4
SRC_GLPI=https://github.com/glpi-project/glpi/releases/download/${VERSION_GLPI}/glpi-${VERSION_GLPI}.tgz
TAR_GLPI=glpi-${VERSION_GLPI}.tgz
FOLDER_GLPI=glpi/
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
if [ "$(ls ${FOLDER_WEB}${FOLDER_GLPI})" ];
then