Replies: 2 comments 2 replies
-
I like the idea of a single file setup. I remember this bothered me already the first time I setup inventree. But I'm not sure about providing a custom caddy container:
What I saw in other projects where I'm really not a fan of, because I don't like to use normal docker volumes (they clutter the docker installation) is to put the Nginx/caddy file into the inventree image and mount it through a docker volume into the caddy container. But this only works with normal docker volumes (no bind mounts). |
Beta Was this translation helpful? Give feedback.
-
@matmair I almost implemented this in the caddy PR, but decided it was too much change at once. I like the idea, it makes setup even simpler which is great. Pushing a custom caddy container is simple enough. How would we handle the .env though? We would need to extend the docs to show people how to add a custom caddyfile and custom .env but that is no issue. |
Beta Was this translation helpful? Give feedback.
-
I think it would be helpful for people just testing InvenTree if one could just download one docker-compose, run docker compose up and have a fully running instance. This would mean we would need to remove the need for a .env and a Caddyfile. I think the .env is simple, for the Caddyfile we would probably need to run publish a custom caddy container that already contains the default file. Thoughts @SchrodingersGat @wolflu05
Beta Was this translation helpful? Give feedback.
All reactions