Pixelfed, Federated Image Sharing
-
@stantropics said in Pixelfed, Federated Image Sharing:
However, the code does work
Yes, that's because docker has a "feature" that if it copies files from the docker image into a volume on first run. So, if you put files in /app/data in Dockerfile, it gets copied over on first run into the /app/data volume. For cloudron packages, we don't use this feature (by convention) since this feature is kind of arcane.
-
The genius @mehdi helped to finally get the config-problems solved. I have put everything in a MR under https://git.cloudron.io/doodlemania2/pixelfed/-/merge_requests/4
- Config rework
- Activity Pub activation
- Move config to /app/data
Now let's get this official
-
@doodlemania2 Just did it, worked well, thanks. But it seems to start out with 256MB of ram, and crashes right away. Anyway to have it start with more ram?
-
@scooke Latest MR is not merged yet. I am increasing RAM in this one:
https://git.cloudron.io/doodlemania2/pixelfed/-/merge_requests/4/diffs?commit_id=bba93ea1da4da8c83388014361ea85db120b1bb3However, my first test shows that it is still not enought. For me, this only happens after setup. After this it runs smooth, even with 256MB of RAM.
-
@stantropics Interesting, yes, I noticed the same thing. But I increased the ram anyway to 2048.
-
@stantropics true
-
I've merged that in @stantropics ... @girish may not accept it for production given it uses /app/data, but maybe!
-
@mattp Honestly I'd wait. If you need ActivityPub right now, Nextcloud has an addon you can install to enable it. Which would allow you to speak to friendica, Matodon, pleroma, etc etc.
Then once this is in the appstore, you can move your data.
-
@doodlemania2 I have started the work here https://git.cloudron.io/cloudron/pixelfed-app
-