pixelfed/docker/artisan
2024-02-24 22:50:48 +00:00

12 lines
221 B
Bash
Executable file

#!/bin/bash
declare service="${PF_SERVICE:=worker}"
declare user="${PF_USER:=www-data}"
exec docker compose exec \
--user "${user}" \
--env TERM \
--env COLORTERM \
"${service}" \
php artisan "${@}"