86

I had an issue recently with getting FileBrowser to run and while researching that, I found this tool which creates a docker-compose.yml file from a docker run command. It worked well for me, so I am passing it along to you all. I hope someone else finds this helpful.

(Not my tool / site, to be clear)

top 6 comments
sorted by: hot top controversial new old
[-] Lodra@programming.dev 20 points 8 months ago

I recently discovered k3d. It’s a light wrapper around k3s, which is kubernetes on docker. It’s amazingly easy to use! If you have docker installed, you can learn the commands and create a k8s cluster in under 5 minutes.

For anyone like me that likes k8s, k3d is a fantastic alternative to docker compose!

[-] kelvie@lemmy.ca 1 points 8 months ago

I guess it's finally to the point where selfhosters can admit to using k8s and not be bombarded by comments saying it's overkill, which has happened in the past for:

  • Self hosting at all
  • Using VMs
  • Using containers
  • Using docker compose
  • Using k8s (⬅️ I guess we are here)
  • Using helm charts or whatever ends up replacing this

Anyway, I believe there is a tool also to turn docker compose files into k8s manifests if we want to take this a step further!

[-] damnthefilibuster@lemmy.world 2 points 8 months ago

I use this almost every time I need to launch something on my Portainer setup. It’s not perfect but works like a charm to convert simpler docker runs into yaml files.

[-] wreckedcarzz@lemmy.world 2 points 8 months ago

I use Dockge (in addition to portainer as a 'something went sideways and I need more capabilities'), which has this ability built-in. It's quite nice.

[-] shnizmuffin@lemmy.inbutts.lol 2 points 8 months ago

Hey I love this tool but be careful if your docker run command is super long or complicated, it's not perfect.

[-] jws_shadotak@sh.itjust.works 2 points 8 months ago
this post was submitted on 07 Apr 2024
86 points (94.8% liked)

Selfhosted

40782 readers
1626 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 2 years ago
MODERATORS