iturnedintoanewt

@iturnedintoanewt@lemm.ee

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Basic docker networking?

Hi guys! I’m going at my first docker attempt…and I’m going in Proxmox. I created an LXC container, from which I installed docker, and portainer. Portainer seems happy to work, and shows its admin page on port 9443 correctly. I tried next running the image of immich, following the steps detailed in their own guide....

iturnedintoanewt,

Sure…But proxmox is already there. It’s installed and it runs 5VMs and about 10 containers. …I’m not going to dump all that just because I need docker…and I’m not getting another machine if I can get use that. So…sure, there might be overhead, but I saw some other people doing it, and the other alternative I saw was running docker on a VM…which is even more overhead. And I fear running it on the proxmox server bare metal, it might conflict with how it manages the LXC containers.

iturnedintoanewt,

Thanks…So you think a full VM will result in less overhead than a container? How so? I mean, the VM will take a bunch of extra RAM and extra overhead by running a full kernel by itself…

iturnedintoanewt,

Thanks! When I type my LXC’s IP:2283, I get unable to connect. I checked the docker-compose.yml and the port seems to be 2283:3001, but no luck at either. Is there anything that needs to be done on docker’s network in order to…“publish” a container to the local network so it can be seen? Or any docker running with a port can be reached via the host’s IP with no further config? Checking the portainer’s networks section, I can see an ‘immich-default’ network using bridge on 172.18.0.0/16, while the system’s bridge seems to be running at 172.17.0.0/16. Is this the correct defaults? Should I change anything?

Thanks!

iturnedintoanewt,

Thanks! When I type my LXC’s IP:2283, I get unable to connect. I checked the docker-compose.yml and the port seems to be 2283:3001, but no luck at either. Is there anything that needs to be done on docker’s network in order to…“publish” a container to the local network so it can be seen? Or any docker running with a port can be reached via the host’s IP with no further config? Checking the portainer’s networks section, I can see an ‘immich-default’ network using bridge on 172.18.0.0/16, while the system’s bridge seems to be running at 172.17.0.0/16. Is this the correct defaults? Should I change anything?

Thanks!

iturnedintoanewt,

Thanks! When I type my LXC’s IP:2283, I get unable to connect. I checked the docker-compose.yml and the port seems to be 2283:3001, but no luck at either. Is there anything that needs to be done on docker’s network in order to…“publish” a container to the local network so it can be seen? Or any docker running with a port can be reached via the host’s IP with no further config? Checking the portainer’s networks section, I can see an ‘immich-default’ network using bridge on 172.18.0.0/16, while the system’s bridge seems to be running at 172.17.0.0/16. Is this the correct defaults? Should I change anything?

Thanks!

iturnedintoanewt,

Thanks…I did follow their guide, step by step. The only thing that I customized was the immich uploads folder, which I want it to go to my NAS. I have it set up on an NFS mount handled by proxmox, and then it’s just a transparent bind mount in the LXC. The user in the lxc container has read/write access to this location, and docker runs on this same user. But I reckon I’m addressing this in docker in a horribly messed way, as I’ve never used it before. Checking the docker logs immich_server, I’m getting this:


<span style="color:#323232;">[Nest] 7  - 04/08/2024, 9:53:08 AM     LOG [SystemConfigService] LogLevel=log (set via system config)
</span><span style="color:#323232;">node:fs:1380
</span><span style="color:#323232;">  const result = binding.mkdir(
</span><span style="color:#323232;">                         ^
</span><span style="color:#323232;">
</span><span style="color:#323232;">Error: EACCES: permission denied, mkdir 'upload/library'
</span><span style="color:#323232;">    at mkdirSync (node:fs:1380:26)
</span><span style="color:#323232;">    at StorageRepository.mkdirSync (/usr/src/app/dist/repositories/storage.repository.js:112:37)
</span><span style="color:#323232;">    at StorageService.init (/usr/src/app/dist/services/storage.service.js:30:32)
</span><span style="color:#323232;">    at ApiService.init (/usr/src/app/dist/services/api.service.js:72:29)
</span><span style="color:#323232;">    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
</span><span style="color:#323232;">    at async ApiModule.onModuleInit (/usr/src/app/dist/app.module.js:58:9)
</span><span style="color:#323232;">    at async callModuleInitHook (/usr/src/app/node_modules/@nestjs/core/hooks/on-module-init.hook.js:51:9)
</span><span style="color:#323232;">    at async NestApplication.callInitHook (/usr/src/app/node_modules/@nestjs/core/nest-application-context.js:223:13)
</span><span style="color:#323232;">    at async NestApplication.init (/usr/src/app/node_modules/@nestjs/core/nest-application.js:100:9)
</span><span style="color:#323232;">    at async NestApplication.listen (/usr/src/app/node_modules/@nestjs/core/nest-application.js:169:33) {
</span><span style="color:#323232;">  errno: -13,
</span><span style="color:#323232;">  code: 'EACCES',
</span><span style="color:#323232;">  syscall: 'mkdir',
</span><span style="color:#323232;">  path: 'upload/library'
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span>

Let’s see… So let’s say my LXC container has a /mnt/NAS-immich-folder path, already mounted and with rw permissions. Then I edited my docker-compose.yml volumes line as follows:


<span style="color:#323232;">    volumes:
</span><span style="color:#323232;">      - /mnt/NAS-immich-folder:/mnt/immich
</span><span style="color:#323232;">      - ${UPLOAD_LOCATION}:/mnt/immich
</span><span style="color:#323232;">      - /etc/localtime:/etc/localtime:ro
</span>

And my .env path looks like:


<span style="color:#323232;"># The location where your uploaded files are stored
</span><span style="color:#323232;">UPLOAD_LOCATION=/media/immich
</span><span style="color:#323232;">
</span>

…I’m sure I’m doing something horribly wrong besides the no-no of docker over LXC…Is there anything messed in these paths? What am I doing wrong? Thanks so much!

Any "smart" Gallery app?

Hi guys! Is there any smart gallery app that can help tag/search the gallery pictures through automatically created tags, such as objects/things recognized in the pictures, locations etc? This is a rather convenient feature in some apple and samsung phones, which I think would be nice to have…But I reckon must consume some...

iturnedintoanewt,

Thanks! A question though…does that mean that the pictures need to be stored cloud-only? I’d like to keep the bulk of them on the phone on local storage. Or how does it work?

Thanks for the recommendation…I’m tempted to get my hands onto Immich.

iturnedintoanewt,

Apparently Tidy does it. It’s…a bit resource heavy, and if the picture library is big, it seems to be taking quite a while to chew through it…We’ll see if performance improves after the first scan.

iturnedintoanewt,

Wow…This really does the job! It really went through my 2 years picture collection, which took about 40min (and a chunk of battery), but after that, any random search term was really nailed on the results shown! Seriously impressive. My concern is, when I opened it a second time, it still took a full couple of minutes to go through the whole picture set again, even though there were no changes to the library…Is there any problem, or the scan is always slow even when there’s no changes?

Thanks a lot, this is awesome!

iturnedintoanewt,

Thanks a lot, it really seems to be working! I’m seriously impressed with the results! Is it…always slow on load, even when there’s no changes to the pictures folder?

iturnedintoanewt,

Ok…I have an old chromecast that I use when I travel to connect to my jellyfin server. It’s already giving me crap in the home screen for movies and series on platforms I don’t even have. What would be a cheap and portable device I could use when I travel so I can hook to any TV?

Thanks!

iturnedintoanewt,

While that sounds nice and all, I’ve had playback issues before…not to mention it’s bulkier than a chromecast, and I’d still need a remote…There’s no Android or Android-TV solution that’s privacy friendly right?

iturnedintoanewt,

Would be great if they also countered Google’s dark patterns in the notification bar toggles and revert back to the old working design. I’m not saying it’s even close to the same priority as this. But you know… Google’s decisions are downgrading the platform and the experience.

iturnedintoanewt,

What’s the specific promotion they received? Airtime?

iturnedintoanewt,

Get ready for your Bluetooth toggle getting the same treatment…

iturnedintoanewt,

More so than Lineage? I never heard of them.

iturnedintoanewt,

I’m sure she knows she’s not gonna win. Now. But i doubt that was her endgame. You need to think about the next and next-next election. This puts her in the game.

iturnedintoanewt,

Nausicaa and Castle in the Sky are also great older Ghibli movies.

iturnedintoanewt,

If the BBC article is right, he might get some loans considering he might get a rather good leverage with Truth Social stock… www.bbc.com/news/business-68609007

Best option to run WhatsApp

I have to have WhatsApp installed on one of my phones for work purposes. It’s not possible to ask my work to give me a phone (I’m on zero-hours contract). I do have two phones - one DeGoogled pixel running CalyxOS and one iPhone XS. The iPhone I use for banking apps and basically anything that ties directly to me. Apple Pay...

iturnedintoanewt,

I reckon there should be a way to keep both sessions logged in and more easily changeable. I mean, I asked and apparently they are running simultaneously and without pausing when you switch.

iturnedintoanewt,

Usually (at least back on the reddit days in open signups) people would describe what kind of contents the server is about, what would you expect to find… Is it an anime server? Mostly TV series? Games? Etc

iturnedintoanewt,

… If all you need is western European languages translation. If you need to translate any African or Asian language, you are SOL.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • rosin
  • mdbf
  • tacticalgear
  • osvaldo12
  • InstantRegret
  • DreamBathrooms
  • cubers
  • magazineikmin
  • thenastyranch
  • khanakhh
  • Youngstown
  • slotface
  • kavyap
  • megavids
  • ethstaker
  • tester
  • GTA5RPClips
  • Durango
  • modclub
  • Leos
  • ngwrru68w68
  • everett
  • anitta
  • cisconetworking
  • provamag3
  • normalnudes
  • lostlight
  • All magazines