version: "3.5" services: mariadb-glpi: image: fametec/glpi:mariadb container_name: glpi-db restart: unless-stopped volumes: - ./volumes/mariadb:/var/lib/mysql:rw environment: MYSQL_DATABASE: glpi MYSQL_USER: glpi-user MYSQL_PASSWORD: glpi-pass MYSQL_RANDOM_ROOT_PASSWORD: 1 TZ: Europe/Berlin # ports: # - 3306:3306 networks: - glpi-backend glpi: image: fametec/glpi:latest container_name: glpi-app restart: unless-stopped volumes: - ./volumes/glpi-files:/var/www/html/files:rw - ./volumes/glpi-plugins:/var/www/html/plugins:rw environment: GLPI_LANG: de_DE MARIADB_HOST: mariadb-glpi MARIADB_PORT: 3306 MARIADB_DATABASE: glpi MARIADB_USER: glpi-user MARIADB_PASSWORD: glpi-pass VERSION: "9.5.6" PLUGINS: "all" TIMEZONE: Europe/Berlin FQDN: it.ostrach.tld ADMINEMAIL: user@hochvogel.de ORGANIZATION: OstrachHELP depends_on: - mariadb-glpi ports: - 8075:80 networks: - glpi-frontend - glpi-backend # # CRON # crond: image: fametec/glpi:crond container_name: glpi-crond restart: unless-stopped volumes: - ./volumes/glpi-nginx:/usr/share/nginx/html/glpi:rw - ./volumes/glpi-files:/var/www/html/files:rw - ./volumes/glpi-plugins:/var/www/html/plugins:rw depends_on: - mariadb-glpi environment: MARIADB_HOST: mariadb-glpi MARIADB_PORT: 3306 MARIADB_DATABASE: glpi MARIADB_USER: glpi-user MARIADB_PASSWORD: glpi-pass networks: - glpi-backend # # VOLUMES # #volumes: # glpi-volume: # glpi-volume-files: # glpi-volume-plugins: # mariadb-glpi-volume: # # NETWORKS # networks: glpi-frontend: glpi-backend: