Comments (5)
I have tested now and I don't have the databse initialization problem.
Are you sure that the /var/lib/mysql folder is empty ?
Is there not data from a previous install ?
Have you tested with another database mapping folder ?
from docker-glpi.
What is your docker-compose file ?
The mysql server is also on docker ?
If yes, the mysql server deployed with docker on the same docker-compose or a different docker deployment ?
from docker-glpi.
mysql.env
MYSQL_ROOT_PASSWORD=diouxx
MYSQL_DATABASE=glpidb
MYSQL_USER=glpi_user
MYSQL_PASSWORD=glpi
docker-compose.yml
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:
- "7780: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
The only change I made is exposed port number
from docker-glpi.
Facepalm
You're right, /var/lib/mysql was already in use by another mariadb container :)
Everything works fine now. Thanks.
from docker-glpi.
I'm glad I could help you :)
from docker-glpi.
Related Issues (20)
- PHP directive "session.cookie_httponly" and timezone on Asustor NAS HOT 5
- session.cookie_httponly is set to "on on" each time the container restarts, preventing apache from running
- Pre-impelment database parameters inside the container HOT 3
- Has the docker image diouxx/glpi been updated to GLPI Version 10.0.12 ? HOT 4
- Permissions denied on Air gap network HOT 5
- Automation LDAP Sync HOT 4
- PHP 7.4.0 - 8.3.0 (exclusive) required after update to latest image HOT 17
- Update HOT 1
- Database Credentials HOT 1
- GLPI does not show Images and doesn't attache documents HOT 3
- Error PHP 7.4 HOT 4
- Issue GLPI 10.0.6 after update the image HOT 3
- Docker image HOT 1
- Use Azure Database for MariaDB server with diouxx/glpi HOT 3
- unable to keep /glpi/ HOT 2
- Deployment error problem
- Glpi crashed after update latest HOT 1
- Cannot make network discovery / missing command line tools HOT 1
- Stuck install.php HOT 1
- GLPI Docker Port Configuration HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-glpi.