Docker Adonis[V6] API, Mysql, PHPMyadmin, Redis #4549
-
Hello, I'm new to AdonisJS, I created an api containing mysql, phpmyadmin and redis. I'll post my docker configuration files, anyone who can help would be grateful! Dockfile
docker-compose.yml
.env
config/cors.ts
dockerConfig
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
If you start your application inside a container, it has to listen on |
Beta Was this translation helpful? Give feedback.
-
It worked. Thank you very much, I've been trying to set up this environment for 2 days, I'll show it to my company on Monday thanks! |
Beta Was this translation helpful? Give feedback.
If you start your application inside a container, it has to listen on
0.0.0.0
and notlocalhost
. Change yourHOST
value.