From 9f46964ad33293a6f1703ae498aba9c3c68067e1 Mon Sep 17 00:00:00 2001 From: Shyam Sunder Date: Wed, 3 Jun 2020 10:04:46 -0400 Subject: [PATCH] Updated ARM and Raspberry Pi Support for Docker builds (markdown) --- ...-Raspberry-Pi-Support-for-Docker-builds.md | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/ARM-and-Raspberry-Pi-Support-for-Docker-builds.md b/ARM-and-Raspberry-Pi-Support-for-Docker-builds.md index ae8a8c3..230b32e 100644 --- a/ARM-and-Raspberry-Pi-Support-for-Docker-builds.md +++ b/ARM-and-Raspberry-Pi-Support-for-Docker-builds.md @@ -1,3 +1,33 @@ +# For the latest release: +Current versions of szurubooru should work out-of-box with ARM architectures. You will only need to build the repository yourself, instead of retrieving the prebuilt images hosted on Docker Hub. To do so, make the following change to `docker-compose.yml` and run `docker-compose build`: + +```diff +--- a/docker-compose.yml ++++ b/docker-compose.yml +@@ -7,7 +7,8 @@ version: '2' + services: + + server: +- image: szurubooru/server:latest ++ build: ++ context: ./server + depends_on: + - sql + environment: +@@ -26,7 +27,8 @@ services: + - "./server/config.yaml:/opt/app/config.yaml" + + client: +- image: szurubooru/client:latest ++ build: ++ context: ./client + depends_on: + - server + environment: +``` + +# For release version 2.3 or earlier: + Per [this post](https://github.com/rr-/szurubooru/issues/192#issuecomment-476897156) by [WychWitch](https://github.com/WychWitch) > Here are my files! If this isn't enough let me know, I might've forgotten one. Again, this is only for rpi3/arm32v7