Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This could be the beginning of a dream come true... #1

Open
jan-jockusch opened this issue Mar 8, 2023 · 5 comments
Open

This could be the beginning of a dream come true... #1

jan-jockusch opened this issue Mar 8, 2023 · 5 comments

Comments

@jan-jockusch
Copy link

Strange title for an issue, I know…

This is a nice little docker approach, all-in-one, but I feel we could go much farther with this using a docker-compose approach.

Which would be to use one type of docker container for each component of our system, like so

  • One container for one Zope front-end (Zope process and helper tools, mostly from python-perfact)
  • One container for one ZEO back-end (ZEO process and zodbsync with git repository)
  • One container for PostgreSQL (we don't have to do that one ourselves, we can use what's there already)
  • One container for HAproxy (should be available, too)
  • One YAML file that binds them together with TCP, and exposes the result to the world

Then we could scale up by adding more Zope dockers, which we would then configure into HAproxy. Simple!

Kubernetes would also become an option…

So this is just me dreaming. If you find this intriguing and would like to explore more, that would make my day!

@jan-jockusch
Copy link
Author

@Klappson
Copy link
Owner

Klappson commented Mar 9, 2023

I already unlocked the compose-sidequest while researching for this approach. This is actually the second time I get a suggestion like this.

However, the target purpose of this implementation is to make creating and deploying small zope-apps more comfortable. This isn't targetting huge enterprise applications. I'm more thinking of apprentices who want to play around with zope or want to use it for school-projects without having to deal with the hussle around it.

BUT the idea of building one of our systems with compose quite tickles my beans to be honest and is something that has left it's mark in my brain. Some tries of that are maybe already sleeping on my disk =)

I can imagine to build both, an all-in-one solution and a more complex compose solution.

I'm gonna keep this issue open and might close it sometime in the future with a link to git.perfact.

Stay tuned.

@jan-jockusch
Copy link
Author

Yeah, I just wanted to give a little nudge… I'm really quite thrilled to have maybe an alternative to the localdev VM approach.

Plus, since we have Alex in our team, who knows his way around Docker quite well, I thought I'd point you in his direction.

@Klappson
Copy link
Owner

@jan-jockusch
Copy link
Author

So cool! I'll have a look as soon as I can!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants