Comments (10)
Closing for now. Please let me know if this is not yet fully addressed.
from actual-server.
@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.
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.
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.
@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.
from actual-server.
from actual-server.
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.
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.
Seems to me this is solved after merging #141
Can someone verify and let me know?
from actual-server.
Related Issues (20)
- [Bug]: no such table: files HOT 3
- [Tech Debt] Ability to run DB migrations
- Default data dir on Windows HOT 2
- Remove Express "x-powered-by" header HOT 1
- GoCardless American Express HOT 3
- Deposits in expense category create issue with all future budget balances HOT 4
- [Schedules] Add category to entry
- [Feature request] Add end date to repeated Schedules HOT 2
- #Alienvault Administration HOT 1
- Api endpoint suggestion to match payee rule HOT 1
- Flip amount option with GoCardless HOT 5
- Error thrown during qfx import HOT 2
- Proposal: progress bars and targets HOT 2
- READ ME BEFORE OPENING AN ISSUE
- [Bug]: Unable to authenticate with server -> Syncing has been reset on this cloud file. HOT 12
- [Bug]: CI - out of memory errors HOT 2
- [Bug]: 23.12.0 rootless migrate permission error HOT 2
- [Bug]: Where’s the server? Message HOT 2
- [Bug]: Trying to login without a body causes internal server error
- [Bug]: Port 5006 is forced within docker HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from actual-server.