this post was submitted on 15 Jun 2023
2 points (100.0% liked)

unRAID

1245 readers
1 users here now

A community for unRAID users to discuss their projects.

founded 2 years ago
MODERATORS
 

I am not sure how to self-host docker compose environments. Maybe somebody can help out.

I'm a software dev and not afraid of some sysadmin work.

Options I see:

  1. I see a docker-compose community app that lets you start setting things up, but haven't investigated very much.
  2. Spin up a linux vm, pretend its not unraid and follow instructions. This is heavier-weight so I want to investigate the docker approach at least some.
  3. Individual dockers, sorta extracting each item in the docker-compose file and running them one-by-one.

I already have nginx proxy manager setup with other services, so that should be fine to expose things to the wider internet when I get that far.

top 6 comments
sorted by: hot top controversial new old
[–] reddthat@reddthat.com 2 points 2 years ago

We are :P

Tiff wrote a post here on self hosting it: https://reddthat.com/post/19103

Also nearly everyone is using docker for Lemmy and as long as unraid lets you run docker commands you should be fine.

Docker compose is (now) part of docker. It's a way to describe all the containers you want, and then docker goes and does it. You should 100% learn docker compose, and Lemmy already has a compose file in their repo. So you should be able to copy paste and say docker compose up -d

[–] ALERT@sh.itjust.works 1 points 2 years ago

Nope. Waiting for an Unraid plugin :D

[–] mcmxci@mimiclem.me 0 points 2 years ago (2 children)

I was able to get it running using the docker-compose CA app and the official docker-compose file after some tweaking. I'm running a similar nginx reverse proxy setup and no issues with federation.

[–] mcmxci@mimiclem.me 1 points 2 years ago

I ended posting my docker-compose file in another thread, thought I should link it here: https://mimiclem.me/comment/10555

[–] p5f20w18k@lemmy.world 0 points 2 years ago (1 children)

Could you share your compose and nginx conf? I've tried setting it up but no idea how to use compose

[–] mcmxci@mimiclem.me 1 points 2 years ago* (last edited 2 years ago)

Sorry, for some reason I didn't see your comment. Ibracorp has a pretty good review of the compose plugin. My docker-compose file. I'll have to sanitize my nginx file before posting. I'll try to get to it tonight.

load more comments