threefoldtech / 0-hub

Threefold Images Hub
https://hub.grid.tf
Apache License 2.0
1 stars 1 forks source link

Create docker image for the hub #73

Open sabrinasadik opened 8 months ago

sabrinasadik commented 8 months ago
maxux commented 8 months ago

Dockerfile nearly done, optimizing docker final size

maxux commented 8 months ago

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

maxux commented 8 months ago

Working on zdb now.

sabrinasadik commented 8 months ago

zdb done?

coesensbert commented 8 months ago

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 commented 8 months ago

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 commented 8 months ago

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 commented 8 months ago

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

maxux commented 8 months ago

Bug fixed in 0-db https://github.com/threefoldtech/0-db/commit/5c7aaa6c4198a523560ddb5d0ac9858f9d59fe32 I'm syncing test database right now to confirm :)

coesensbert commented 7 months ago

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

can we test?

maxux commented 7 months ago

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