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).

How can you help, you ask? A brief description of what services I can use to orchestrate this architecture, or a GitHub repository where you or someone else has done something similar might help.

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@alien.topB
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    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.