pe1uca

joined 2 years ago
 

All docker files look something like this

services:
  service_name:
    image: author/project:latest
    container_name: service_name
    volumes:
      - service_data:/app/data/

volumes:
  service_data:

Yes, this makes the data to persist, but it creates a directory with a random name inside /var/lib/docker/volumes/
This makes it really hard to actually have ownership of the data of the service (for example to create backups, or to migrate to another host)

Why is it standard practice to use this instead of having a directory mounted inside at the same level you have your docker-compose.yml?
Like this - ./service_data:/app/data

 

cross-posted from: https://lemmy.pe1uca.dev/post/1512941

I'm trying to configure some NFC tags to automatically open an app, which is easy, just have to type the package name.
But I'm wondering how I can launch the app in a specific activity.

Specifically when I search for FitoTrack in my phone I get the option to launch the app directly into the workout I want to track, so I don't have to launch the app, click the FAB, click "Record workout" and then select the workout.
So I want to have a tag which will automatically launch this app into a specific workout.

How can I know what's the data I need to put into the tag to do this?

Probably looking at the code will give me the answer, but this won't apply to closed source apps, so is there a way to get all the ways all my installed apps can be launched?

[–] pe1uca@lemmy.pe1uca.dev 1 points 2 years ago (1 children)

I love playing Dwar Fortress, I've spent hours and hours in there.
The game is free from the developera site, the download is only 15MB.
If you want to support them you can buy it in steam, the listed requirements is 500MB of storage, I assume since this version has a tile set.

I've also put so far 400 hours in oxygen not included, I think it uses around 2GB of storage.

And to me, any monster hunter game its worth its price, I've bought each game and played it for minimum 200 hours each, I think I reached 500 in on of them.
Tho the newer ones are pretty heavy for their respective platforms. Also triple-A game price.

 

cross-posted from: https://lemmy.pe1uca.dev/post/1434359

I was trying to debug an issue I have connecting to a NAS, so I was checking the logs of UFW and found out there are a lot of connections being blocked from my chromecast HD (AndroidTV) on different ports via the local IP.

Sometimes I use jellyfin, but that's over tailscale, so there shouldn't be any traffic over local IP, just over tailscale's IP.
But shouldn't have traffic right now since I wasn't using it and didn't have tailscale on.

The ports seem random, just sometimes they are tried two times back to back, but afterwards another random port is tried to be accessed.

After seeing this I enabled UFW in my daily machine and the same type of logs showed up.

So, do you guys know what could be happening here?
Why is chromecast trying to access random ports on devices in the same network?

 

I was trying to debug an issue I have connecting to a NAS, so I was checking the logs of UFW and found out there are a lot of connections being blocked from my chromecast HD (AndroidTV) on different ports via the local IP.

Sometimes I use jellyfin, but that's over tailscale, so there shouldn't be any traffic over local IP, just over tailscale's IP.
But shouldn't have traffic right now since I wasn't using it and didn't have tailscale on.

The ports seem random, just sometimes they are tried two times back to back, but afterwards another random port is tried to be accessed.

After seeing this I enabled UFW in my daily machine and the same type of logs showed up.

So, do you guys know what could be happening here?
Why is chromecast trying to access random ports on devices in the same network?

[–] pe1uca@lemmy.pe1uca.dev 1 points 2 years ago

I use https://lemmyverse.net/
You can search for all communities of all instances, or click in a specific instance.

https://lemmyverse.net/instance/programming.dev/communities

[–] pe1uca@lemmy.pe1uca.dev 0 points 2 years ago

And forgejo runner is basically github actions, I just started automating a lot of my personal projects. (it's in alpha state, but my basic actions haven't had any problems)