CLI Commands/docker?
Closed this issue · 2 comments
TiboLR34 commented
Hi,
I haven't been able to find out how to run CLI commands of my docker wallabag container ?
https://doc.wallabag.org/en/admin/console_commands.html
I'd like to give admin "super" promotion to a new user and then suppress "wallabag" user.
docker exec -it wallabag-wallabag-1 "bin/console help" keeps telling me no such fil or directory
Thanks in advance
j0k3r commented
You should use:
docker exec -t NAME_OR_ID_OF_YOUR_WALLABAG_CONTAINER /var/www/wallabag/bin/console help --env=prod
TiboLR34 commented
indeed !
docker exec -t /var/www/wallabag/bin/console fos:user:promote XXXX --env=prod --super
worked
doesn't work without env=prod whereas help says it should be default ?