TrafeX / docker-php-nginx

Docker image with PHP-FPM 8.3 & Nginx 1.24 on Alpine Linux
https://hub.docker.com/r/trafex/php-nginx
MIT License
1.33k stars 721 forks source link

supervisorctl not working #161

Closed jduan00 closed 6 months ago

jduan00 commented 6 months ago

Hi there!

After getting into the image: $ docker exec -it -u root container sh

The following cmd fails: # supervisorctl unix:///run/supervisord.sock no such file

Any thoughts to fix it? Thanks!

TrafeX commented 6 months ago

Hi @jduan00 ,

That's because the socket isn't configured in supervisord.conf. I don't directly see why this would be needed. But you can add it yourself by configuring a unix http server: http://supervisord.org/configuration.html#unix-http-server-section-settings

jduan00 commented 6 months ago

Hi @TrafeX

Happy New Year 2024! I agree. After looking into this more, I realize it is better to leave it alone to KISS. Thanks for getting back. Cheers!