panel icon indicating copy to clipboard operation
panel copied to clipboard

Use `supervisorctl` instead of `systemctl` when running in docker

Open rmartinoscar opened this issue 7 months ago • 4 comments

rmartinoscar avatar May 14 '25 15:05 rmartinoscar

p:environment:queue-service shouldn't be used when running the panel inside docker? It's only used for creating the queue worker service on a normal install.

Boy132 avatar May 14 '25 15:05 Boy132

p:environment:queue-service shouldn't be used when running the panel inside docker? It's only used for creating the queue worker service on a normal install.

Its used whenever you switch to redis

rmartinoscar avatar May 14 '25 18:05 rmartinoscar

p:environment:queue-service shouldn't be used when running the panel inside docker? It's only used for creating the queue worker service on a normal install.

Its used whenever you switch to redis

Yeah, for the non dockerized install. Your changes will only restart the service which is pointless and has nothing to do with the command.

Boy132 avatar May 14 '25 18:05 Boy132

Then how are you supposed to change drivers once its installed beside manually editing .env or adding those to the compose file ? It makes sense for me to allow all standalone commands to be ran in Docker as well. You would then just prepend php artisan p:xxxxxxx with docker compose exec -it panel like so docker compose exec -it panel php artisan p:xxxxxxx

rmartinoscar avatar May 14 '25 22:05 rmartinoscar