pixelfed/docker/artisan

12 lines
221 B
Text
Raw Permalink Normal View History

2024-02-21 22:15:41 +00:00
#!/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 "${@}"