mbirth

joined 1 year ago
[–] [email protected] 1 points 1 hour ago

It’s an SQLite database. Corruption is very unlikely. So, that’s not something I am worried about.

[–] [email protected] 2 points 19 hours ago* (last edited 14 hours ago)

You have to actually add the middleware into the (default) chain for your https entrypoint (I think in most tutorials it’s called websecure) - in my static conf I have this:

entryPoints:
  https:                                                           
    address: :443                                                  
    http:                                                          
      middlewares:                                                 
        - crowdsec-bouncer@file                                    
        - secure-headers@file 

And in my dynamic conf I have this:

http:
  middlewares:
    crowdsec-bouncer:
      plugin:
        crowdsec-bouncer-traefik-plugin:
          CrowdsecLapiKey: "### Enter your LAPI Key here ###"
          Enabled: true
[–] [email protected] 4 points 1 day ago (1 children)

@[email protected]

Are there any thoughts of implementing 24/7 GPS tracking support (e.g. being fed by OwnTracks) alongside the activities?

After trying several tools I now ended up with Traccar, but as that’s based on Java and more suited for fleet tracking, it’s not quite ideal.

[–] [email protected] 5 points 1 day ago (3 children)

I’ve recently introduced CrowdSec and crowdsec-bouncer-traefik-plugin into my setup and it’s really great to see it block all those spam bots and brute force attempts.

[–] [email protected] 5 points 1 day ago (2 children)

Some food for thought:

When I was looking to get my photos under control, in the end I decided to go all-in with Apple Photos. As I’m also using a Mac, the convenience can’t be beaten. Also, I can easily pull up any photo using Apple’s smart filters and can easily select photos from within apps without having to “share” them to the photos library first.

But this was only decided after I found out that Apple Photos keeps all photos in separate files in original quality and all metadata in a local SQLite database. Using the osxphotos tool, you can query this database and easily pull out any photo incl. metadata - even when running on other OSes, no need for Apple Photos. This also makes it easy to move everything to another system, if needed.

I’ve set my Mac to always keep original copies on disk and run a backup to my NAS every night. (Using CCC at the moment, but looking to switch to restic.) This way, all my photos are always off-site in iCloud, on my Mac and on my NAS.

You’d just need a tool to upload your Android photos to iCloud. From a quick search it seems Sync for iCloud might do the trick - albeit manually … if I read the reviews correctly.

[–] [email protected] 1 points 1 day ago (1 children)

How did you mount it outside the cluster? Did you have a look at the mtab and used the exact same options in the compose file?

[–] [email protected] 2 points 2 days ago (3 children)

There’s no difference between using a volume in Compose to mount a share or your server’s fstab file. Both do the same kind of mount.

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

I’d suggest /opt/docker/_compose/ for all the compose files. Or, if you keep all the config files for your containers on your NAS, maybe create a share there and put all yml files in it, then mount it on the host. This way everything is on your NAS and nothing is lost if the host freaks out.

And I’d add the NFS mounts to the compose files as well. When specifying volumes, you can use anything the host OS has a mount.xxx command for. Docker will take care of mounting everything.

[–] [email protected] 5 points 1 week ago (2 children)

I post stuff to my blog mostly for myself to look it up later and to possibly help people with similar interests. So, why not just do it and see how it goes?

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

Yeah, everyone has to find their own way of organising, I guess. For me, there are too many different little projects that it would get messy throwing them all in one folder. And they’re so varied that I couldn’t think of one single “theme” or topic for most of them. Nothing I would remember a week later anyways.

[–] [email protected] 10 points 1 week ago (5 children)

Same, but by language, e.g. Development/Python.

view more: next ›