YoRyan / mailrise

An SMTP gateway for Apprise notifications.
https://mailrise.xyz
MIT License
830 stars 34 forks source link

Support for Raspberry Pi (linux/arm64/v8) #122

Open cornernote opened 2 months ago

cornernote commented 2 months ago

Hello,

I moved my docker services from an intel server to a Raspberry Pi, and when starting this service I get an error:

# docker compose up -d

[+] Running 2/2
 ✔ Container mailrise                                                                                                                                      Started                                                                                                                                         0.2s 
 ! mailrise The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested   

The logs show that the binary file won't run:

# docker compose logs -f

mailrise  | exec /home/mailrise/.local/bin/mailrise: exec format error

Are there any plans to support linux/arm64/v8 ?

sachapan commented 1 month ago

There are already arm64 builds: https://hub.docker.com/r/yoryan/mailrise/tags

Your docker compose file appears to be hard coded to use the amd64 build. Either specify the arm64 build or remove the architecture altogether and docker will pull the matching one:

image yoryan/mailrise