Has anyone managed to get the docker-compose file working for ARM64/v8 architechture. I am trying to use an Oracle free tier server for self-hosting lemmy

  • chiisana@lemmy.chiisana.net
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 year ago

    You’ll want to use the ARM images instead of the default AMD64 images.

    For Lemmy: image: dessalines/lemmy:0.17-linux-arm64 For Lemmy-UI: image: dessalines/lemmy-ui:0.17-linux-arm64

    Those should get you pass any architecture related issues.

    I’ve finally just got my instance up and running along with using my traefik gateway (instead of the nginx they have). It is 5AM on a Monday for me, so I better go take a quick nap before work. I’ll make a separate post later on the steps I’ve taken to make that work “relatively cleanly”.

    Good luck!

    • chiisana@lemmy.chiisana.net
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 year ago

      So I tried to make a post, but it is not showing up. I’m also not seeing other comments on my own instance. I think there might still be some kinks I need to figure out with Cloudflare piece. In all cases, you can see the write up I’ve posted (supposedly in this !selfhosted@lemmy.world community) that’s not showing up here: https://lemmy.chiisana.net/post/264

      Edit:

      It would appear to be up now: https://lemmy.world/post/299429

      However, comments seems to be desync, I don’t see comments on my own instance but see them on lemmy world; and also the post is some how only viewable in new, despite apparently having gained some upvotes (who’d thunk that people cared about my ranty adventure :) ). This goes to show there’s still a lot of things to hash out. I’ll try to update more as I figure more things out.

    • Netto Hikari@social.fossware.space
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      Only bad thing though is that there’s no build for 0.17.4 for ARM64v8 right now, despite this version including some “security fixes”, as stated in the changelog.

      That’s why I made this post.

  • Wombo-Combo@lemmy.nilskrau.de
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Wouldn’t that simply be the question of: is docker running on ARM64 cpu’s?

    As far as I know lemmy and postgres both use alpine base images. Which should be compatible with whatever underlying host system you have, as long as docker is running.