vegetaaaaaaa

joined 2 years ago
[–] vegetaaaaaaa 2 points 3 days ago

I wrote my own, using plain HTML/CSS. Actually the final .html file gets templated by ansible depending on what's installed on the server, but you can easily pick just the parts you need from the j2 template

[–] vegetaaaaaaa 2 points 1 week ago (1 children)
  1. You can verry well share bind mounts between containers
  2. named volumes are actually directories too, you know? Under /var/lib/docker/volumes/ by default

Still, use bind mounts. Named or anonymous volumes are only good for temporary junk.

[–] vegetaaaaaaa 18 points 2 weeks ago (4 children)
  • step 1: use named volumes
  • step 2: stop your containers or just wait for them to crash/stop unnoticed for some reason
  • step 3: run docker system prune --all as one should do periodically to clean up the garbage docker leaves on your system. Lose all your data (this will delete even named volumes if they are not in use by a running container)
  • step 4: never use named or anonymous volumes again, use bind mounts

The fact that you absolutely need to run docker system prune --all regularly to get rid of GBs of unused layers, test containers, etc, combined with the fact that it deletes explicitely named volumes makes them too unsafe for my taste. Just use bind mounts.

[–] vegetaaaaaaa 1 points 1 month ago* (last edited 1 month ago)

One has a total powered-on time of 51534 hours, and the other 49499 hours.
As for their actual age (manufacturing date), the only way to know is to look at the sticker on the drive, or find the invoice, can't tell you right now.

[–] vegetaaaaaaa 4 points 1 month ago (3 children)
$ for i in /dev/disk/by-id/ata-WD*; do sudo smartctl --all $i | grep Power_On_Hours; done
  9 Power_On_Hours          0x0032   030   030   000    Old_age   Always       -       51534
  9 Power_On_Hours          0x0032   033   033   000    Old_age   Always       -       49499
[–] vegetaaaaaaa 3 points 1 month ago

Follow the official documentation, nothing else comes close.

I have automated this process in my nextcloud ansible role

[–] vegetaaaaaaa 1 points 1 month ago
  • simple: rsyslog: all local logs to a central syslog file (using the imfile module), all syslogsfrom all server to a central rsyslog server (over TCP/SSL, example here). Use lnav or something similar to consume the logs
  • more complex, resource-heavy: Graylog Open as a replacement for the central rsyslog server, setup pipelines/alerts/whatever... Currently considering replacing my Graylog instance with Wazuh but I don't know yet if it will be able to replace it completely for me
[–] vegetaaaaaaa 1 points 1 month ago* (last edited 1 month ago)

security

with containers, software maintainers also need to keep their image up-to-date with latest security fixes (most of them don't) - whereas these are usually handled by unattended-upgrades or similar in a VM. Then put out a new release and expect users to upgrade ASAP. Or rebuild and encourage redeploying the latest image every day or so, which is bad for other reasons (no warning for breaking changes, the software must be tested thoroughly after every commit to master).

In short this adds the burden of proper OS/image maintenance for developers, something usually handled by distro maintainers.

trivy is helpful in assessing the maintenance/vulnerability level of OCI images.

[–] vegetaaaaaaa 1 points 2 months ago

homebank (desktop app) + weekly import of new transactions using woob/bank and a basic shell script. Homebank database synced via Nextcloud.

[–] vegetaaaaaaa -4 points 3 months ago* (last edited 3 months ago)

Please not these posts again

This thread is pinned for a reason: https://lemmy.world/post/60585

[–] vegetaaaaaaa 1 points 3 months ago

You are right. Quadlets require 4.4, Debian 12 has 4.3

 

Old article I found in my bookmarks. Although I didn't have the use for it, I thought it was interesting.

 

Synapse and Dendrite relicensed to AGPLv3

 

Hi c/selfhosted,

I just wanted to let you know that I have added a frequently requested feature to https://awesome-selfhosted.net - the ability to filter the list by programming language or deployment platform. For example:

You can navigate between platforms/languages by clicking the relevant link in each software project's metadata. There is no main list of platforms, but if someone creates an issue for it, it can be looked into (please provide details on where/how you expect the platforms list to show up).

A quick update on project news since the new website was released (https://lemmy.world/post/3622280): a lot of curation work has been done, some incorrect data has been fixed, a few additions and some general improvements have been made. A deb platform has been added for those who prefer to deploy software through their distribution's package management system, and we're working on a Manufacturing tag for software related to 3D printing, CNC machines and other physical manufacturing tools.

awesome-selfhosted is a list of Free Software network services and web applications which can be hosted on your own server(s).

The "old", markdown-formatted list remains available at https://github.com/awesome-selfhosted/awesome-selfhosted and will keep being updated automatically.

The project is maintained by volunteers under the CreativeCommons BY-SA 3.0 License, at https://github.com/awesome-selfhosted/awesome-selfhosted-data.

Thanks again to all contributors.

11
submitted 2 years ago* (last edited 2 years ago) by vegetaaaaaaa to c/selfhosted
 

Blog post about TLS certificates lifetime

 

This is a new, improved version of https://github.com/awesome-selfhosted/awesome-selfhosted/

Please check the release announcement for more details.

Maintainer here, happy to answer questions.

view more: next ›