You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting up dev.docker-compose.yml leads to a situation where the server cannot talk to the database. The pre-flight will tell you the following:
D'oh! Looks like we can't connect to your database. Please update your database settings in your .env file. Your database says: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for db failed: Name does not resolve (Connection: mysql, SQL: select 2 + 2)
Reproduction steps
$ podman-compose -f dev.docker-compose.yml up
or the same with docker-compose.
Expected behavior
It should create a working environment.
Screenshots
No response
Snipe-IT Version
7.0.10
Operating System
Arch Linux
Web Server
Apache (container)
PHP Version
8.1
Operating System
No response
Browser
No response
Version
No response
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
No response
Additional context
I'll send a PR soon.
The text was updated successfully, but these errors were encountered:
Debug mode
Describe the bug
Setting up
dev.docker-compose.yml
leads to a situation where the server cannot talk to the database. The pre-flight will tell you the following:Reproduction steps
or the same with
docker-compose
.Expected behavior
It should create a working environment.
Screenshots
No response
Snipe-IT Version
7.0.10
Operating System
Arch Linux
Web Server
Apache (container)
PHP Version
8.1
Operating System
No response
Browser
No response
Version
No response
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
No response
Additional context
I'll send a PR soon.
The text was updated successfully, but these errors were encountered: