29 lines
569 B
YAML
29 lines
569 B
YAML
version: "3.2"
|
|
|
|
services:
|
|
#MariaDB Container
|
|
mariadb:
|
|
image: mariadb:10.7
|
|
container_name: mariadb
|
|
hostname: mariadb
|
|
volumes:
|
|
- /var/lib/mysql:/var/lib/mysql
|
|
env_file:
|
|
- ./mariadb.env
|
|
restart: always
|
|
|
|
#GLPI Container
|
|
glpi:
|
|
image: diouxx/glpi
|
|
container_name : glpi
|
|
hostname: glpi
|
|
ports:
|
|
- "8081:80"
|
|
volumes:
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /var/www/html/glpi/:/var/www/html/glpi
|
|
environment:
|
|
- TIMEZONE=Europe/Brussels
|
|
restart: always
|