haven icon indicating copy to clipboard operation
haven copied to clipboard

Docker support

Open selfhosted-heaven opened this issue 3 years ago • 6 comments

I believe the project could greatly benefit from Docker (and compose) support. Making it easier to setup on machines that are not single purpose (like a raspberry pi or AWS instances) can be greatly beneficial in getting a greater adoption for Haven.

We can start with a rough base and refine from there.

selfhosted-heaven avatar Mar 04 '22 11:03 selfhosted-heaven

Plans to add ARM Support?

DrMxrcy avatar Aug 23 '22 01:08 DrMxrcy

Hey @DrMxrcy , Haven should work fine on ARM, I've run it as bare-metal on 32-bit and 64-bit Raspberry Pis. The ruby Docker image I started with claims to be cross-platform and support ARM. Do you want to try it out and let me know if you run into any issues?

mawise avatar Aug 23 '22 15:08 mawise

Hey @DrMxrcy , Haven should work fine on ARM, I've run it as bare-metal on 32-bit and 64-bit Raspberry Pis. The ruby Docker image I started with claims to be cross-platform and support ARM. Do you want to try it out and let me know if you run into any issues?

Sounds good. Just wanted to make sure it would. I will test it out, but you could also look at buildx to push to arm as well. I will double check it later this week

DrMxrcy avatar Aug 24 '22 17:08 DrMxrcy

@mawise Yea I did a quick look, the docker image has to be build for arm.

DrMxrcy avatar Aug 24 '22 18:08 DrMxrcy

Got it, Ill take a look but it might be a little while. Feel free to submit a PR for multi-arch builds!

On Wed, Aug 24, 2022, 1:02 PM DrMxrcy @.***> wrote:

@mawise https://github.com/mawise Yea I did a quick look, the docker image has to be build for arm.

— Reply to this email directly, view it on GitHub https://github.com/havenweb/haven/issues/24#issuecomment-1226058472, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2DVLVOBEMSXXNKRHKXDLDV2ZPRVANCNFSM5P5HVOHQ . You are receiving this because you were mentioned.Message ID: @.***>

mawise avatar Aug 26 '22 01:08 mawise

Hey @DrMxrcy ,

Looks like using buildx to push to Docker Hub from Github Actions requires a paid Docker Hub account, so I'm not going to set that up right now. (Nothing buildx-specific, but the CI integration with Github they restrict to the paid tier).

If you know anyone at Docker who wants to give me a complimentary Pro tier account then I'd be happy to set it up.

Cheers,

Matt

mawise avatar Aug 26 '22 14:08 mawise

Closing this issue as the title is more about Docker support which exists now. @DrMxrcy feel free to open a new issue for better multi-arch support.

mawise avatar Dec 27 '22 17:12 mawise