←back to thread

207 points fjk | 4 comments | | HN request time: 0s | source
1. andnand ◴[] No.43937320[source]
Im fairly new to self hosting. I've been playing around with a raspberry pi running raspberry pi os. The documentation says the Debian package is only for amd64 architectures. Im assuming that has to do with one of the Node packages? Out of curiosity, if I wanted to get it to work on an arm architecture, where would I start? My first guess would be trying to install it on the pi and looking at the error messages.
replies(2): >>43937462 #>>43937591 #
2. apitman ◴[] No.43937462[source]
Can you use Docker? Looks like they have a linux/arm64 build.
replies(1): >>43937601 #
3. TheAceOfHearts ◴[] No.43937591[source]
I think the docker container has both amd64 and arm64 versions, so try following the docker-compose instructions.

Personally, I have a Services folder with sub-folders for each self-hosted service. Each service folder has a compose.yaml file, and any additional files that the service might generate also go into its service folder (e.g. /Services/audiobookshelf/ has config/ and metadata/ as well as compose.yaml). I don't need every service running constantly, so I just update and run things manually as needed, but you could automate that. I really appreciate that you can just use `docker-compose pull` to update and `docker-compose up -d` to run the service without having to mess around with anything else.

4. andnand ◴[] No.43937601[source]
I was looking to use this as a learning exercise. Im just curious about the process of getting this to build for arm natively.