Go to a concert.
- 3 Posts
- 184 Comments
uranibaba@lemmy.worldto World News@lemmy.world•Brazil’s President Lula says Trump was ‘not elected to be emperor of the world,’ as US-Brazil spat escalatesEnglish9·7 days agoI don’t get it, what should the link convey?
uranibaba@lemmy.worldto Selfhosted@lemmy.world•Reitti (v1.1.0) Update: Family mode, faster processing, colors!English3·8 days agoI 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.
uranibaba@lemmy.worldto Selfhosted@lemmy.world•Reitti (v1.1.0) Update: Family mode, faster processing, colors!English1·8 days agoThat’s the first time I ever hear someone call Java a legacy language.
uranibaba@lemmy.worldto Selfhosted@lemmy.world•How to use a domain I own to self-host services?English1·8 days agoIs 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.
uranibaba@lemmy.worldto Selfhosted@lemmy.world•Reitti (v1.1.0) Update: Family mode, faster processing, colors!English1·8 days agoIt’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?
uranibaba@lemmy.worldto Leopards Ate My Face@lemmy.world•Wolves an' Leopards Are Trying To Kill The Sheep an' The ShepherdEnglish61·10 days agoWe all just want to screw our eyes shut and say “Your kids deserved to die because you voted wrong”, which is an fucking insane thing to believe and exactly the kind of magical thinking that got us to this point.
That’s the worst part of it all. It is the kids who die, who had no say in the matter, no those who voted.
uranibaba@lemmy.worldto Selfhosted@lemmy.world•How to use a domain I own to self-host services?English2·10 days agoLove docker. Updating has never been easier.
uranibaba@lemmy.worldto No Stupid Questions@lemmy.world•Why doesn’t Apple/Samsung/Google use new tech like every other phone maker?31·11 days agoAgreed, have used both android and iOS over the years and both OSes has their pros and cons. Currently staying with iPhone because nothing beats their face ID in my opinion.
uranibaba@lemmy.worldto Selfhosted@lemmy.world•What are the advantages/disadvantages of the different backup solutions?English6·11 days agoI 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
uranibaba@lemmy.worldto You Should Know@lemmy.world•YSK: If you set up a Lemmy instance, and follow the Docker setup instructions to the letter, it will send lemmy.ml your admin password during the setup process (Edit: Not anymore, it’s fixed now)2·13 days agoYou are right, that is sus. The main repo does not have this and the docs repo have the main as a sub module, but still have a folder named assets with a different docker-compose.yml.
Would have been nice with a link from the start.
uranibaba@lemmy.worldto You Should Know@lemmy.world•YSK: If you set up a Lemmy instance, and follow the Docker setup instructions to the letter, it will send lemmy.ml your admin password during the setup process (Edit: Not anymore, it’s fixed now)4·13 days agoI would fix it if we had a link. This problem is not present in the main branch.
https://github.com/LemmyNet/lemmy/blob/main/docker/docker-compose.yml
environment: # this needs to match the hostname defined in the lemmy service - LEMMY_UI_LEMMY_INTERNAL_HOST=lemmy:8536 # set the outside hostname here - LEMMY_UI_LEMMY_EXTERNAL_HOST=localhost:1236 - LEMMY_UI_HTTPS=false - LEMMY_UI_DEBUG=true
uranibaba@lemmy.worldto You Should Know@lemmy.world•YSK: If you set up a Lemmy instance, and follow the Docker setup instructions to the letter, it will send lemmy.ml your admin password during the setup process (Edit: Not anymore, it’s fixed now)1·13 days agoDo you have a link to the file you used which has this problem?
I believe @dustyData@lemmy.world is reading separate as in when a married couple decide to not live together while still being married.
uranibaba@lemmy.worldto No Stupid Questions@lemmy.world•What's the e-reader you would buy if you were in the market?2·1 month agoWhich one did you buy?
uranibaba@lemmy.worldto Cybersecurity@sh.itjust.works•Even paying victims lose their data with Anubis ransomwareEnglish10·1 month agoWhy would they not unlock the victims data if they pay? Doesn’t that defeat the whole purpose of ransomware?
The article even points this out:
However, it also ruins negotiations when victims realize that Anubis has already deleted their files for good.
You see the same with people who use fillers or get tattoos. They start small, only one tattoo or a minor increase in lip size. Then they get another and another tattoo, or get bigger and bigger lips. My hypothesis is that they get used to the new appearance or becomes desensitized to it.
uranibaba@lemmy.worldto Technology@lemmy.world•109 children rescued, 244 arrested in Operation Soteria Shield, exposing widespread child exploitation in North TexasEnglish26·1 month agoThe title made me think 244 children (and not offenders) were arrested.
From the readme: