I wanted to run my own Lemmy instance but I don’t have the physical space / server to run anything massive so I was trying to use a pi 4. Using the Ansible instructions I get most of the way through up to it trying to start the docker compose instance it mentions there’s no Arm in the manifest file. I know it’s not the strongest device but does Lemmy not support the pi outright?
It only builds the ARM Docker image and publishes it to a repository which you can use in your
docker-compose.yml
. It doesn’t do what the Ansible playbook does where it sets up everything for you. If you want a script that sets up everything for you, check out ubergeek77’s Lemmy-Easy-Deploy.I’m not sure what ansible names the containers but for me, I can view the logs with
sudo docker logs -f lemmy_lemmy_1
.I haven’t used Cloudflare Tunnels in a long time so I’m not entirely sure. I know you can locally access Lemmy via port 80 (
http://localhost:80
) to check if Lemmy is working and if the black page is an nginx/cloudflared issue.Apparently, the docker compose file just forces an amd build which caused a mismatch and an infinite reboot loop
I’ve been trying the easy deploy script because it has cloudflare support. ```___ERROR [lemmy builder 6/7] RUN cargo build --release`
I’ve never used Lemmy-Easy-Deploy but you can try building with masquernya’s build script as this worked for me. Again, this only builds the docker image and publishes it to your own docker repository. You’ll need to edit the build script to use your own docker repository.
Alternatively, you can just use the pre-built ARM image that masquernya already provides:
masquernya/lemmy:0.18.0-linux-arm64
so you don’t have to compile from source.