dgdft

joined 2 months ago
[–] [email protected] 2 points 5 days ago* (last edited 5 days ago)

Please tell me more, which firewall would you recommend that plays nice with Docker?

Firewalld

No NAT?

Another user in this thread suggested DMZing, so combine your advice with theirs and boom. It’s not uncommon, and it’s fine if you firewall the box yourself. Most people don’t knowingly choose to use a firewall that they don’t intend to work, like you would.

why would you copy paste a docker compose without reading it?

There’s more than one way to use docker. Spinning up an official mysql image using the official docker run OR docker compose calls suggested by the docs would start up a server wide open to the entire internet if DMZ’d.

[–] [email protected] 6 points 6 days ago* (last edited 6 days ago) (1 children)

Just to throw out an easy option: if the music is well-labeled on Youtube, you can get pretty close to that full suite with just yt-dlp by using --embed-thumbnail as a stand-in for album art, dumping your files with an “Artist - track - album” naming structure using the --output-template flag — then using an awk or python script as a second pass to add the artist/track/album names to each file as tags.

E: and in case it isn’t self-evident, you don’t have to give yt-dlp a URL for each track; it’ll work fine with a playlist URL.

[–] [email protected] 28 points 6 days ago* (last edited 6 days ago) (6 children)

Yt-dlp is the gold standard for that.

https://github.com/yt-dlp/yt-dlp

Tag cleanup and album art are their own beast that you’ll wanna tackle post-download, but beets is another gold standard tool that can help with that layer.

https://beets.io/

[–] [email protected] 6 points 6 days ago

Gnome. The maintainers have a hard-earned rep for contemptuous attitudes towards community and end-user feedback.

[–] [email protected] 2 points 6 days ago* (last edited 6 days ago) (6 children)

You shouldn’t suggest UFW at all then. There are other firewall options that can be used just fine with docker.

It does have real potential to cause issues, e.g. if OP were to put their server in DMZ mode on their router and later copy some docker setup instructions that don’t explicitly bind to localhost.

[–] [email protected] 3 points 6 days ago* (last edited 6 days ago) (8 children)

This is dangerous advice because docker is well-known for undoing UFW’s iptable rules. It’s mitigated by binding to localhost, but still way too easy for people to shoot themselves in the foot by using the two together.

[–] [email protected] 11 points 1 week ago

In that case… welcome to the club.

[–] [email protected] 16 points 1 week ago* (last edited 1 week ago) (2 children)

You might get more than you bargained for: Shuttleworth has one helluva grip after all these years.

[–] [email protected] 23 points 1 week ago* (last edited 1 week ago) (2 children)

No need to cargo-cult security practices here, chief. You’re not gonna get pwned by publishing your hardware specs. If you’re planning to build some kinda webapp for yourself, that’s a different story - but you have to fuck up hard to get hacked while hosting raw HTML.

Use an SSH key, disable password auth, make sure you’re firewalled (i.e. test with nmap), and call it a day.

[–] [email protected] 2 points 1 week ago* (last edited 1 week ago) (2 children)

Asserting that the state has no legitimate interest in using limited violence (i.e. tear gas) to execute lawful search and arrest warrants against heavily-armed, recalcitrant pedophiles is truly one of the takes of all time.

The Bundy standoff, the SLA, and the Waco Siege are categorically different from the firebombing of Philly or the Tulsa Massacre to anyone with a brain.

[–] [email protected] 17 points 1 week ago (22 children)

Is there a buried lede here? What’s noteworthy about an RC of a minor version release?

2
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/[email protected]
 

If you crave fat beats, this one’s for you.

 
141
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]
 

Hey garden peeps!

I tried overwintering some of my pepper plants this year. The process worked very well, and was easier than I'd expected, so I figured I'd share the results in case anyone else finds this useful.

Only big catch is that you'll need a space that stays around 40-60 degrees across your winter season. If you have a garage, basement, shed, root cellar that meets those requirements, you're in luck - otherwise, you're probably better off sticking to starts, or barerooting in a used wine cooler.

I used this page as my guide: https://peppergeek.com/overwintering-pepper-plants/, but to summarize, you basically uproot your plants at the end of the season, prune them down to the bottom few nodes, root wash them, and stick them in fresh, cheap potting soil with a small light to hang out for the winter.

Additional notes:

  • I added crushed granite as a mulch to keep out fungus gnats.
  • Watered every ~3 weeks, going off of container weight.
  • Kept the light timer around 6 hrs per day.
  • I pruned new growth for the first ~6 weeks, then tapered off to avoid draining all of the plants' reserves.
  • I followed the standard hardening-off procedure to reintroduce the plants to the outdoors.
  • This was USDA zone 8, so the short winter made this EZ mode. Maintenance was painless and the plants were showing little sign of stress, so I don't think it would've been hard to keep it up a few more months.
view more: next ›