DiouxX / docker-glpi

Project to deploy GLPI with docker
233 stars 183 forks source link

What is the glpi password? #22

Closed andreenumo closed 5 years ago

andreenumo commented 5 years ago

Deploy GLPI without database

What is the login, password, default hostname to connect to in glpi? I installed glpi but I can not login and password

andreenumo commented 5 years ago

Database connection parameters SQL server (MariaDB or MySQL)

SQL user

SQL password

default password?

DiouxX commented 5 years ago

It's not possible to run Glpi without database. The documentation need updated, sorry...

If you want run Glpi, you can use docker-compose it's easiest and you set hitself MYSQL password and MYSQL database with mysql.env file

If you want run Glpi without persitance data for quickly test, you can use docker-compose by removing volumes lines :

version: "3.2"

services:
#Mysql Container
  mysql:
    image: mysql:5.7.23
    container_name: mysql
    hostname: mysql
    environment:
      - MYSQL_ROOT_PASSWORD=password
      - MYSQL_DATABASE=glpidb
      - MYSQL_USER=glpi_user
      - MYSQL_PASSWORD=glpi

#GLPI Container
  glpi:
    image: diouxx/glpi
    container_name : glpi
    hostname: glpi
    ports:
      - "80:80"
DiouxX commented 5 years ago

I 've updated README.

Now, you can follow README to run GLPI on command line or docker-compose with or without persistence data. 👍