this post was submitted on 08 Apr 2024
256 points (98.1% liked)

Selfhosted

40313 readers
287 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Hi! For the ones of you that use Trello, I made a simple to use and host alternative in PHP. It's not a complete alternative like other projects, and I mainly made it to be able to host it on free PHP web servers while having control over data/attachments. It also support a basic importer for Trello JSON exports.

I'm hosting a test instance here, you can make an account to try it out (no email required):

https://trytarallo.altervista.org/

And the repository with other instructions is here:

https://github.com/michelematteini/tarallo

you are viewing a single comment's thread
view the rest of the comments
[–] HumanPerson@sh.itjust.works 27 points 7 months ago (6 children)

Wow code with actual comments???!!!! Amazing!

[–] matteinim@feddit.it 15 points 7 months ago (5 children)

...and I didn't even minimize them on the test instance, so that people will feel their weight while the page load :D

[–] HumanPerson@sh.itjust.works 2 points 7 months ago (4 children)

Is there a docker version or a chance of one in the future?

[–] matteinim@feddit.it 11 points 7 months ago (2 children)

I know it's kinda expected in these project... Let's say that if no one contributes it, I'll have to look up how to set it up, since I'm not really a web dev. But yeah it's gonna be there.

[–] Turun@feddit.de 12 points 7 months ago* (last edited 7 months ago) (1 children)

A basic image is really easy. It's basically just

Dockerfile

FROM debian  # start with a minimal Linux system. There are probably better options than debian. Some images are made especially for docker (i.e. very minimal and light weight). 
RUN apt install dependencies  # do what ever you need to get your app running. 
RUN echo "options and stuff" >> /etc/a/config/file  # you can also edit system files
COPY . /app  # copy your project into the docker container.
EXPOSE 8080  # doesn't actually do anything, but documents where the app will be listening
CMD server-binary run /app/main.php  # I have actually no idea how php server stuff works

(Docs https://docs.docker.com/reference/dockerfile/)

Then people can run your project with docker.

Edit: checking the readme some small changes would be required. Config.php should read in environment variables and the DB init SQL should be run automatically somehow.

[–] matteinim@feddit.it 1 points 7 months ago* (last edited 7 months ago)

Edit: checking the readme some small changes would be required. Config.php should read in environment variables and the DB init SQL should be run automatically somehow.

I'll probably start with making these changes to make it compatible, thanks!

[–] HumanPerson@sh.itjust.works 2 points 7 months ago

I was looking for something like this a little while ago but couldn't find anything and this looks perfect. My server is mostly docker only so I might try to figure it out.

load more comments (1 replies)
load more comments (1 replies)
load more comments (1 replies)