[Feature Request]: Handling of all things Docker (php, mysql, etc.) similar to how Tinkerwell handles it.
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
Non vengono indicati file, test o punti di ingresso. Inizia esaminando il comportamento delle impostazioni Docker e il modo in cui Invoker esegue attualmente PHP rispetto al file .env del progetto e alla rete dei container; il lavoro è completo quando un container PHP selezionato può eseguire il progetto e raggiungere servizi come MySQL e Redis senza modificare la configurazione dell’applicazione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Feature Description
Our environment uses various php versions for various projects and having the ability to define which php container to use is not too clear. I can see a "Docker settings" button only in the homescreen in the list of projects. But that is not making it too clear if it will use php from inside the container or not, it does not seem like it is doing that.
Since nginx, php, mysql, redis, etc. is all containerized (we use laradock as a standard for our team), not being able to follow through within the containers network makes the values set in the .env file useless for Invoker because it is sitting outside the docker container network and is running php from the system instead... which has no visibility for any of the .env values set for hosts on these services.
As a result, sql queries cannot execute properly, even though there are no exceptions in the app when accessed via a browser with configured hosts, trying to load a model, will return:
Illuminate\Database\QueryException : SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution (SQL: select count(*) as aggregate from '[model]')
This is the php from outside docker trying to connect to the configured mysql which uses a hostname available for use inside docker itself. Which is why it cannot see it. Changing the .env will make it work for Invoker, but then it will break for the app when accessed from the browser... which is why I ended up making this feature request.
Being able to use php from a docker container would help immensely with using Invoker with our current setup.
Thanks for listening and providing great tools guys!
Is this feature valuable for other users as well and why?
This can be valuable for everyone who has docker for their databases and/or php, etc. and doesn't have it all installed locally. Which is something we decided to do so we didn't have to install all versions of postgres 14.x~17.x, mysql 5.7.x/8.x and php from 7.4 to 8.4 in our local machines (we have so many projects with different php versions, this was deemed a convenience).
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 76
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di beyondcode/invoker-community
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 20/100
beyondcode/invoker-community#400 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
beyondcode/invoker-community#399 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
beyondcode/invoker-community#398 ·
-
Invoker issueAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
beyondcode/invoker-community#396 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
beyondcode/invoker-community#395 · 1 reazione ·
Tutte le issue di beyondcode/invoker-community
Issue simili
-
docs(api): openapi.yaml still documents gif-tools optimize colors as 2-256 instead of 2, 4, 16, 256Apertaarea: backend documentation priority: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
snapotter-hq/SnapOtter#2919 ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue gpu serve
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
I maintainer di solito rispondono entro 1 giorno
-
bug deferred domain:ci P1
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
get_page_thumbnail modifies cached page images, affecting later thumbnails and picture exportsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
docling-project/docling-mcp#147 ·