Giter Club home page Giter Club logo

Comments (10)

MatissJanis avatar MatissJanis commented on May 30, 2024 1

Closing for now. Please let me know if this is not yet fully addressed.

from actual-server.

vonahnen avatar vonahnen commented on May 30, 2024

@kn100 I was able to get this running on a Raspberry Pi with ARMv7 using my changes here: vonahnen@bf154da

Here's my cat /proc/cpuinfo output.

$ cat /proc/cpuinfo
processor	: 0
model name	: ARMv7 Processor rev 3 (v7l)
BogoMIPS	: 108.00
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xd08
CPU revision	: 3

processor	: 1
model name	: ARMv7 Processor rev 3 (v7l)
BogoMIPS	: 108.00
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xd08
CPU revision	: 3

processor	: 2
model name	: ARMv7 Processor rev 3 (v7l)
BogoMIPS	: 108.00
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xd08
CPU revision	: 3

processor	: 3
model name	: ARMv7 Processor rev 3 (v7l)
BogoMIPS	: 108.00
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xd08
CPU revision	: 3

...

from actual-server.

urjeetpatel avatar urjeetpatel commented on May 30, 2024

I think the main question here is if ARMv7 is accepted as a supported platform. If so, then the pipeline should be updated to add this target to docker.

If not, then end users should use the workaround above as an unsupported feature.

from actual-server.

jayket avatar jayket commented on May 30, 2024

I can tell you that it will run on a raspberry pi which is ARMv7. You have to download the image from docker locally and build it locally as well. Im running mine with little to no issues but be advised it isn't the snappiest. I just used these instructions and got it up and running in no time.
git clone https://github.com/actualbudget/actual-server.git cd actual-server docker build -t actual-server . docker run -p 5006:5006 actual-server
I hope that helps.

from actual-server.

jamesmortensen avatar jamesmortensen commented on May 30, 2024

@jayket @vonahnen can you confirm that it runs using the existing Dockerfile and Dockerfile.alpine images? @jayket it sounds like you already succeeded with the Dockerfile, but what about the Dockerfile.alpine?

Here's the instructions to build and run for Alpine, assuming you're doing this on a Raspberry Pi:

git clone https://github.com/actualbudget/actual-server.git
cd actual-server
docker build -t actual-server -f Dockerfile.alpine .
docker run -p 5006:5006 actual-server

In the pull-request #141, I modified the docker workflow to include building for the target linux/arm/v7. If you confirm it works, then we can have a maintainer review and possibly merge the changes so that armv7 is included in Docker Hub.

from actual-server.

jayket avatar jayket commented on May 30, 2024

from actual-server.

jayket avatar jayket commented on May 30, 2024

from actual-server.

danielnbalasoiu avatar danielnbalasoiu commented on May 30, 2024

@jayket

I don't notice much speed difference between the original and alpine versions. They both seems to run smoothly once up and running.

As far as I know, Actual runs locally and then it syncs the changes which makes it very fast and it's hard to tell be difference.

Some of the benefits of running the alpine container are:

  • More secure: fewer libraries mean smaller attack surface
  • smaller container size which translates into faster download time, less bandwidth usage

from actual-server.

urjeetpatel avatar urjeetpatel commented on May 30, 2024

To be fair the is nothing in the code that relies on native binaries for anything. the server itself is pretty straightforward as far as sync goes and the arm v7 support should work fine.

the conversion of the image to alpine should be a separate discussion / issue IMHO.

from actual-server.

MatissJanis avatar MatissJanis commented on May 30, 2024

Seems to me this is solved after merging #141

Can someone verify and let me know?

from actual-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.