You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
docker-glpi/docker-compose.yml

34 lines
784 B

version: "3.2"
services:
#Mysql Container
mysql:
image: mysql:5.7.23
container_name: mysql
hostname: mysql
volumes:
- /var/lib/mysql:/var/lib/mysql
env_file:
- ./mysql.env
restart: always
#GLPI Container
glpi:
image: diouxx/glpi
container_name : glpi
hostname: glpi
ports:
- "80:80"
#- "443:443"
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
- /var/www/html/glpi/:/var/www/html/glpi
# For SSL support, needs glpi.crt and glpi.key files in 'certs' directory
#- ./certs:/etc/certs
environment:
- TIMEZONE=Europe/Brussels
# Support to force redirecting HTTP to HTTPS
#- SSL_REDIRECT=https://MY_SITE_HTTPS_URL/
restart: always