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

Create docker image for the hub #73

Open
sabrinasadik opened this issue Dec 14, 2023 · 11 comments
Open

Create docker image for the hub #73

sabrinasadik opened this issue Dec 14, 2023 · 11 comments
Assignees

Comments

@sabrinasadik
Copy link

  • another one for 0-db
  • explain how it syncs with the backend
@maxux maxux self-assigned this Dec 14, 2023
@maxux
Copy link
Collaborator

maxux commented Dec 14, 2023

Dockerfile nearly done, optimizing docker final size

@maxux
Copy link
Collaborator

maxux commented Dec 14, 2023

@maxux
Copy link
Collaborator

maxux commented Dec 14, 2023

Working on zdb now.

@sabrinasadik
Copy link
Author

zdb done?

@coesensbert
Copy link

https://github.com/threefoldtech/0-db/pkgs/container/0-db

Still needs to be tested setting up a clean hub.
Also need docs on how to sync with the existing hub.grid.tf (!)

@maxux
Copy link
Collaborator

maxux commented Dec 18, 2023

zdb done?

Yes, the issue in zdb about it is closed.

About sync, I'm writing documentation about it. There is a script in place which can copy the hub flists via https://github.com/threefoldtech/0-hub/blob/master/tools/hub-clone.py, I'm on another script to sync zdb.

Please note there is no way to get a realtime sync between two instance for now, you only can get master-slave with some time between instance while cloning. Master-master is not supported at all.

@coesensbert
Copy link

Please note there is no way to get a realtime sync between two instance for now, you only can get master-slave with some time between instance while cloning. Master-master is not supported at all.

That's fine for now, it's just to have a spare hub that is synced as recent as possible outside of our DC.

@maxux
Copy link
Collaborator

maxux commented Dec 19, 2023

Script to sync the hub flist is working fine but I discover a bug in zdb during incremental sync, looking into it.

@maxux
Copy link
Collaborator

maxux commented Dec 20, 2023

Bug fixed in 0-db threefoldtech/0-db@5c7aaa6
I'm syncing test database right now to confirm :)

@coesensbert
Copy link

Bug fixed in 0-db threefoldtech/0-db@5c7aaa6 I'm syncing test database right now to confirm :)

can we test?

@maxux
Copy link
Collaborator

maxux commented Jan 9, 2024

Production zdb get updated right now, incremental update tested against it. This can now be tested in production for you. I can provide scripts needed, let's talk to arrange how to use it and credentials :)

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

3 participants