this post was submitted on 02 Jun 2023
16 points (100.0% liked)

General Programming Discussion

7792 readers
8 users here now

A general programming discussion community.

Rules:

  1. Be civil.
  2. Please start discussions that spark conversation

Other communities

Systems

Functional Programming

Also related

founded 5 years ago
MODERATORS
 

First off, I'm totally new here (Reddit refugee).

But I guess we will see an endless September after July 1st.

How can we (I?) create an "onboarding" server? or in my case: a lemmy server for (people interested in) programmimg.

Let's say I have some (pick one


or all):

  • digital ocean droplet (vps)
  • herzner vps
  • k8s cluster
  • ...you get the point

How do I get my foo.bar Lemmy server running?

  • is there a docker-compose.yml or helm chart to get the services running on my droplet/cluster?
  • how do i connect my server to other lemmy servers in the fediverse?
  • are moderation tools available, or do i have to build them on my own? (are there existing repos i can join, to prevent reinventing the wheel)
  • is there documentation available for that? If not: on what repo can I make pull requests for improving the docs? (i like writing my documentation in markdown + "material for mkdocs" that generates the github/gitlab/whatever pages)

thanks in advance :thumbs-up:

top 11 comments
sorted by: hot top controversial new old
[–] nutomic@lemmy.ml 7 points 1 year ago (1 children)
[–] pe1uca@lemmy.one 1 points 1 year ago (1 children)

Does it affect if I run lemmy inside a tailscale machine with all inbound ports closed?

[–] nutomic@lemmy.ml 3 points 1 year ago (1 children)

It needs to receive incoming http/websocket requests.

[–] pe1uca@lemmy.one 1 points 1 year ago

Got it. Based on the documentation and the caddy example it only needs ports 80 and 8536, correct?

[–] RedKrieg@lemmy.redkrieg.com 5 points 1 year ago

I installed mine using the instructions here. I did run in to an issue with docker-compose, for which I submitted this pull request (assuming that PR is not merged by the time you clone the repo).

[–] jax@lemmy.cloudhub.social 2 points 1 year ago

They recommend the Ansible setup found here: https://github.com/LemmyNet/lemmy-ansible

Their main docs site does have instructions for running via docker(-compose), but they seem to be pretty broken right now.

I'm running Lemmy and Authentik (authentication broker for my Mastodon instance) on one of the $14/month AMD premium droplets and it's working fine. (1vCPU 2Gb RAM). Though I'm the only user currently and my instance has only been up for about an hour lol.

I just set up my instance using the Ansible playbook. It takes a few manual configuration steps, and the rest is automatic provided you can SSH into the server and get root access.

There's official documentation for how to get up and running quickly using Docker here: https://join-lemmy.org/docs/en/administration/install_docker.html

I used that as a reference for my own server's setup (which is heavily modified appropriately for my own environment).

Officially https://join-lemmy.org/docs/administration/install_docker.html

There is also this https://github.com/ubergeek77/Lemmy-Easy-Deploy/tree/main

I rolled my own docker-compose.yml because I host other services using Caddy as well

[–] smajl@lemmy.ml 1 points 1 year ago (1 children)

Does anybody know the hardware requirements? A RaspberryPi, some small VPS with 1 cpu and 1gb ram, or 4 core vps with 16 gb ram? Is the traffic cache-able by cloudflare?

[–] jax@lemmy.cloudhub.social 1 points 1 year ago

In my other comment I mentioned some specs... not sure what it's like on the larger instances, but probably not too bad.

Not sure if it can be cached by Cloudflare... probably depends on what you want to cache.