Need some guidance with how to set up my project for easier self- hosting reddit / selfhosted ---------------------------------------------------------------------- AmruthPillai · 2023-10-29 15:24 Hey there! I am building an open-source project, built with React and NestJS. This in turn has a few dependencies on certain services, all running from docker (postgres, minio, browserless etc.). I need some guidance on how I can package this as a single open source project, that would make it easier for folks to just pull and image and run as-is, or copy the docker-compose.yaml and have it running on their system. I'm facing issues particularly with how to allow all these different services to communicate with each other. My hunch was to use a single nginx config that would route requests to minio, browserless, the client or the server depending on their route, but I do not have much experience with nginx either (also, not sure if that provides the best experience for self-hosters, hence why I'm posting this question here). I would be very very appreciative of anyone who can help, I've been stuck on this for the past week. It feels really depressing especially to have put in so much into the product to build it well, but run into a wall because I don't know how to package it to users. ---------------------------------------------------------------------- clintkev251 · 2023-10-29 15:37 They way that most projects I've seen that have multiple dependencies handle this is to just provide an example docker compose file. I really think that's all you need. Personally I really don't want an "overpackaged" solution, because that just adds bloat and takes away flexibility. I don't need yet another proxy running, if I need to proxy access to some service, I'll integrate it into my existing proxy. ---------------------------------------------------------------------- thekrautboy · 2023-10-29 16:02 Take this as quick feedback: I would **never** use a project that stuffs Postgres, Minio and more all into a single Docker image. And you might want to ask maybe /r/webdev or similar subs about your approach, and /r/Docker if you have technical questions about it.