

I can’t say I agree or disagree because I don’t have any data to prove your right nor wrong. I can say that I understand some shit people give Java but your argument was a first for me. I was intrigued.
I can’t say I agree or disagree because I don’t have any data to prove your right nor wrong. I can say that I understand some shit people give Java but your argument was a first for me. I was intrigued.
That’s the first time I ever hear someone call Java a legacy language.
Is it considered best practice to run a bunch of different compose files, and update them all separately?
tl;dr I do one compose file per application/folder because I found that to suite me best.
I knew about docker and what is was for a long time, but just recently started to use it (past year or so) so I’m no expert . Before docker, I had one VM for each application I wanted and if I messed something up (installed something and it broke or something), I just removed the entier VM and made a new one. This also comes with the problem that every VM needs to be stopped before the host can be shutdown, and startup took more work to ensure that it worked correctly.
Here is a sample of my layout:
.
├──audiobookshelf
│ ├──config
├──diun
│ └───data
├──jellyfin
├──kuma
├──mealie
│ ├──data
│ └──pgdata
├──n8n
│ ├──n8n_data
│ └──n8n_files
├──paperless
│ ├──consume
│ └──export
├──syncthing
│ └──data
└───tasksmd
└──config
I considered using one compose file and put everything in it by opted to instead use one file for each project. Using one compose file for everything would make it difficult to stop just one application. And by having it split into separate folders, I can just remove everything in it if I mess up and start a new container.
As for updating, I made script that pulls everything:
#!/bin/bash
function docker_update {
cd $1
docker compose down && docker compose pull && docker compose up -d
}
docker_update "/path/to/app1"
docker_update "/path/to/app2"
docker_update "/path/to/app3"
Here is a small sample from my n8n compose file (not complete file):
services:
db:
container_name: n8n-db
image: postgres
...
networks:
- n8n-network
adminer:
container_name: n8n-db-adminer
image: adminer
restart: unless-stopped
ports:
- 8372:8080
networks:
- shared-network
- n8n-network
n8n:
container_name: n8n
networks:
- n8n-network
- shared-network
depends_on:
db:
condition: service_healthy
volumes:
db_data:
networks:
n8n-network:
shared-network:
external: true
shared-network
is shared between Caddy and any containter I need to access to externally (reverse proxy) and then one network that is shared between the applications.
It’s a spring framework project. It is a solid choice if Java is your language and you need a predefined web server to build on.
Also, what is odd with Java?
Love docker. Updating has never been easier.
I am currently looking into borg because it can take incremental backups. I just need figure out how I should handle a running system, if I need to turn of all my docker images or if there is some kind of snapshot function I can use.
From what I read on their FAQ, Borg cannot verify the integrity so I would need to turn everything off during the backup process. A filesystem like ZFS could have solved that problem (cannot find the link, something about shadow copy I think?) but since I don’t have a backup yet nor physical access, I need to work with what I have.
I think I will set it to take a backup every night.
EDIT: Maybe it can verify integrity? Still trying to find information on my use case. https://borgbackup.readthedocs.io/en/stable/usage/check.html
Accidental reply
How do you know which headers to set? I couldn’t find any documentation when I last tried (but that was some years ago now).
I didn’t read the whole article and mostly looked at the table. 12% is a number I would describe as a huge difference, but combined with the battery life I have to agree that it is indeed a massive difference.
I have to agree, it’s better but not really massivley so.
Title | Legion Go S - SteamOS | Legion Go S - Windows |
---|---|---|
Cyberpunk | 59 FPS | 46 FPS |
Helldivers 2 | 70 FPS | 65 FPS |
Doom Eternal | 75 FPS | 66 FPS |
Spiderman 2 | 63 FPS | 64 FPS |
Witcher 3 | 76 FPS | 66 FPS |
That sound like something you should put on youtube or another streaming service.
I meant Traefik, but I’m reading up on Tailscale now and it looks good.
I meant Traefik.
I meant to ask about Traefik vs Caddy, but you setup is genius.
I meant Traefik, sorry.
Also, why Nginx over Caddy? How does a minimal reverese proxy setup look like with Nginx?
Yes, sorry for the mixup. I meant Traefik
My small repurposed NAS could not handle hosting everything posted here, but it would be really nice if I had the time to both set it up AND use them. I’m suprised it can even handle almost 10 apps (but I am the only user).
I also had a dream of setting up Guacamole and run Heroes of Might and Magic III turn based. But I never got it working (didn’t use docker back then) so I gave up on it.
It’s nice because I don’t have to install it. Now I can use it when I work, on my computer at home or when my dad calls me.
But there is also merit to using a desktop application.
I haven’t used nextcloud in years, but last I read about it was to avoid AIO at all cost. There is another version and for some reason AIO was shit and not AIO was OK. Can’t remember why though.
From the readme: