since I coudn’t find anything about self-hosting without docker within the docs, I would like to know if this is removed on purpose and why? Used to have this docs: https://docs.directus.io/self-hosted/cli.html
I’ve been throught this. Take your time to read the replies I got from experienced Directus users on my first post. I believe non-docker documentations are hard to find because it’s really not recommended to avoid Docker… but that’s just my guess, given I’m not a developer myself.
Currently I have directus running without docker and no problems so far. I could setup that way, cause there was some docs around about installing and hosting directus without docker.
As I see it, docker does nothing different as my setup without docker. May some developer clear this up, why using docker is better as without.
While you can run Directus without Docker directly in Node, we don’t actively promote that in our documentation as it introduces a couple potential issues in environment differences and runtime behavior. Directus uses a couple dependencies with native binaries — f.e. to generate hashes or do thumbnail generations — and those may or may not work on the machine you’re running Directus on. By using the Docker container we control that environment and make sure it works as expected in the most environments
For anyone interested or hitting this topic, as I said I run directus directly in Node with pm2 as process manager. As with local development i do the same without pm2 and run directus directly (with the command npx directus start) .