Git Product home page Git Product logo

Comments (14)

maxhollmann avatar maxhollmann commented on June 17, 2024

That's not really the way docker is intended to be used (see https://docs.docker.com/config/containers/multi-service_container/).
What's your use case for this? Take a look at the docker-compose.example.yml for how to run the whole thing using docker-compose.

from podify.

reesericci avatar reesericci commented on June 17, 2024

I want to run it in k8s and don't want a ton of containers for one service. I think it would be cool if you guys had both available, as if I was already running Redis and Postgres, then that would be great. It would be useful to some people like me.

from podify.

reesericci avatar reesericci commented on June 17, 2024

@maxhollmann

from podify.

BadCo-NZ avatar BadCo-NZ commented on June 17, 2024

I would like to run this on unRAID with minimal complexity, so one container would be easier.

Edit: Although I do have a MariaDB container for other services I could utilise.

from podify.

reesericci avatar reesericci commented on June 17, 2024

I don't use redis, I don't use postgres, if I did I could drop this in. But I don't, and a lot of other people don't, and a simple container would be useful.

from podify.

borgmanJeremy avatar borgmanJeremy commented on June 17, 2024

Whether you run redis and Postgres in one container or in many containers you must still run those services.

The current compose model is much more standard and IMO it provides an easy setup with plenty of flexibility.

from podify.

BadCo-NZ avatar BadCo-NZ commented on June 17, 2024

Whether you run redis and Postgres in one container or in many containers you must still run those services.

The current compose model is much more standard and IMO it provides an easy setup with plenty of flexibility.

Which is fine, if you can use docker-compose.

Unfortunately unRAID dies not :( well, there might be a way to do it that I'm not aware of yet.

from podify.

borgmanJeremy avatar borgmanJeremy commented on June 17, 2024

Ohhhhhh ok

Maybe this will work? https://forums.unraid.net/topic/91436-is-docker-compose-available-on-unraid/

from podify.

reesericci avatar reesericci commented on June 17, 2024

I don't use docker-compose either, I use Kubernetes.

from podify.

reesericci avatar reesericci commented on June 17, 2024

@maxhollmann any comments?

from podify.

maxhollmann avatar maxhollmann commented on June 17, 2024

Well, I won't work on a single-container Dockerfile myself as there are many things with higher priority on my todo list. Like borgmanJeremy said, you're running all three services either way, the only difference running it in a single container makes is that errors become both more likely and less transparent. I'm open to pull requests though if you or someone else wants to work on this, as @BadCo-NZ' seems to have a valid usecase for it.

I'm currently experimenting with Kubernetes though, so I might provide a sample Kubernetes config sometime soon, though still running the three services in separate containers ;)

from podify.

BadCo-NZ avatar BadCo-NZ commented on June 17, 2024

Ohhhhhh ok

Maybe this will work? https://forums.unraid.net/topic/91436-is-docker-compose-available-on-unraid/

Yeah I figured there would be a way to script it to make it persistent, I'll have a look more into it this weekend, thanks!

from podify.

BadCo-NZ avatar BadCo-NZ commented on June 17, 2024

Well, I won't work on a single-container Dockerfile myself as there are many things with higher priority on my todo list. Like borgmanJeremy said, you're running all three services either way, the only difference running it in a single container makes is that errors become both more likely and less transparent. I'm open to pull requests though if you or someone else wants to work on this, as @BadCo-NZ' seems to have a valid usecase for it.

I'm currently experimenting with Kubernetes though, so I might provide a sample Kubernetes config sometime soon, though still running the three services in separate containers ;)

Thanks for the reply @maxhollmann

I'm not that familiar with postgres and DBs in general, but is there a way to use another DB like MariaDB so we don't need to double up on Databases? Or does postgres do something special?

from podify.

maxhollmann avatar maxhollmann commented on June 17, 2024

I'm not that familiar with postgres and DBs in general, but is there a way to use another DB like MariaDB so we don't need to double up on Databases? Or does postgres do something special?

No, that won't work unfortunately, the app is using Postgres' jsonb type.

from podify.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.