How to use php-cli from within n8n docker container?

Yes, docker-compose.
And I’ve “mounted” a folder on my host file system which persists after I switched of docker - that’s working well.
I’m more worried about the workflows that I’ve built - they are stored inside a SQLite, if I understood that correctly? I didn’t want to move to MySQL or PostgreSQL for my first server with n8n (mostly a MVP at the moment).

The link that you’ve shared (Running Python with n8n - #2 by dali) sounds like I’d be adding sth. to a docker file and I’d be re-creating my n8n ‘instance’ from the docker file + PHP. I assumed, I’d loose my workflows which are currently in SQLite?