• 0 Posts
  • 16 Comments
Joined 1 year ago
cake
Cake day: June 14th, 2023

help-circle

  • Ok, had my wife send me the file from my network

    networks:
      main-network:
        name: ${COMPOSE_PROJECT_NAME}
        attachable: true
        ipam:
          driver: default
          config:
            - subnet: configure
              ip_range: this
              gateway: yoself
    
    services:
      # Gluetun - <https://github.com/qdm12/gluetun>
      gluetun:
        image: qmcgaw/gluetun
        container_name: gluetun
        networks:
          - main-network
        cap_add:
          - NET_ADMIN
        environment:
          - PUID=${PUID}
          - PGID=${PGID}
          - TZ=${TZ}
          - VPN_SERVICE_PROVIDER=custom
          - VPN_TYPE=wireguard
          - VPN_PORT_FORWARDING=true
          - VPN_PORT_FORWARDING_PROVIDER=protonvpn
          - WIREGUARD_ADDRESSES=use your own
          - WIREGUARD_ALLOWED_IPS=0.0.0.0/0
          - WIREGUARD_PRIVATE_KEY=nope
          - WIREGUARD_PUBLIC_KEY=69420
          - WIREGUARD_DNS=
          - VPN_ENDPOINT_PORT=
          - VPN_ENDPOINT_IP=
        volumes:
          - ${DOAPPDAT}/gluetun:/gluetun
    

    I left in the wireguard stuff without my details because for me Gluetun refused to work when setting the exact same info to wg0.conf, so I define it in my compose

    Then, services that rely on gluetun go below and look like:

    # qBittorrent - <https://hub.docker.com/r/linuxserver/qbittorrent>
    qbittorrent:
      container_name: qbittorrent
      network_mode: container:gluetun
      image: lscr.io/linuxserver/qbittorrent:latest
      depends_on:
        gluetun:
          condition: service_healthy
      restart: unless-stopped
    
    

    Works perfectly when I run it through portainer


  • What works for me:

    Networks first in docker-compose

    Gluetun first in Services, uses the network I set for it and the stack

    Everything else goes below it, relying on the gluetun CONTAINER (I plan to have another stack running gluetun for other reasons so having it check the service is a no go for me) to be running in a HEALTHY state

    All are set to restart: unless-stopped except gluetun, which is never

    The expected behaviour is that containers will always wait for gluetun to report that it’s healthy before trying again to restart. Should gluetun fail and crash for any reason it won’t reboot and potentially fuck itself up harder, and no services will be able to start because it’s not reporting healthy.

    This works perfectly in portainer and should when running docker-compose up, but for me it took portainer to work. Saw someone somewhere mention it has some sort of priority handling override built into it that docker itself doesn’t, meaning it’s less likely to fuck that lind of thing up, but idk how true it is

    I’ll see if I can remember to snag a couple snips of my YAML to make it more clear


  • My main 2 reasons for installing it both come from needing to restart services sometimes:

    Portainer let me allow other people access to restarting specific containers that occasionally misbehave

    Portainer lets me update and restart all of the containers running in my VPN stack without breaking. For some ungodly reason, even with dependency set and everything in docker-compose, a CLI reboot will basically always start a service or 2 before gluetun is actually advertising it’s in a healthy state and everything breaks. With portainer that doesn’t happen, with the exact same compose, and I don’t get why lol


  • Ok i get it, it’s best practice to do rushed releases without QA because users are the free testers.

    You literally used the wrong version. As I stated: the app you’re talking about clearly states it does not have a stable release for the version of nextcloud you’re running.

    They definitely had no way to know that their own app was incompatible

    They knew, and told you, right on the app page

    Idiot user who believed their newsletter "update now, hub 9 is the best thing ever

    You said it, not me. I tried being nice but that really is what happened: you fell for what the marketing team wrote and skipped basic IT steps in doing so. Now, rather than just admit you made a mistake that a LOT of people have made (including me, I’m a fucking idiot too) you are whining and doing your best to me talk gymnastics this into you being a victim of something

    How you managed to convince your IT department of anything with a knowledge that shallow and an attitude like that I’ll never know. Grow up.


  • then a bit of warning is suggested

    Which was given by the app that gets broken by the update

    Windows doesn’t tell you that upgrading to 11 will break x, y, and z that you have installed, you’re expected to go to the sites for those programs and check if they work. Same exact idea

    The same company making both apps is never a guarantee that they’ll play nice day 1, for many reasons

    I’ll repeat: learn from your mistake instead of blaming other people for your naivete. If an app is important and might break during an update of something: check the apps documentation to see if it supports said update


  • Literally just googled “nextcloud forms” and looked at their supported versions and whaddya know, it says right on that webpage that there’s no stable version for 30 yet, so safe bet would be that it wouldn’t properly work when upgrading:

    There is a supported nightly build, though, so you could probably have tried that

    It’s on you to look up what will break when you update, or to test and see what happens when you do. A major update page isn’t going to list all of the things that rely on it that break because that’s fucking unreasonable


  • I’m starting to see a pattern in those comments like “why did you wear a skirt that night? It looks like you asked for it…”

    Cute victim mentality, but gross and insanely wrong comparison

    Learn from your mistake and don’t update without testing next time, it’s 100% on whoever updates the production environment to make sure that shit isn’t broken for whatever reason before pushing it customer-side

    It’s more like you bought a random white powder from your dealer without asking what it was and are now upset you almost died









  • Iran-Contra was a political scandal back in the 80s where Raegans (may he burn in hell forevermore) administration illegally sold weapons to Iran

    The Hardy Boys are 2 detective brothers who solved mysteries. Literally just the young boy version of Nancy Drew books, basically.

    The joke here is that a Hardy Boys level adventure (The Secret of Pirate Cove) resulted in them outing the Iran-Contra affair


  • So how would a cop catch up to someone who bypass their limiter?

    They don’t, there’s no need. They get the person’s plate info and send the fine after the fact. They can also come impound the vehicle, as well. Dangerous chase: avoided.

    Or respond to hostage situation in a timely manner?

    They can have a special vehicle at the station that doesn’t have the limiter for extremely specific situations like that. Only specially trained officers can use it.

    Or get to another unit who needs assistance?

    Normal speeds. They shouldn’t be allowed to endanger people not even near an incident to get somewhere because another cop is “”“in danger”“”

    I think it would just be better to fire cops who abuse their power.

    I think it would just be better to not give cops the chance to abuse their power in the first place since that injures and kills people


  • Would you be surprised to know that most Christian and Jewish men are circumcised?

    Not in the slightest, because I’ve known that since I was a kid. As has every guy I know. Literally just go to a porn website, “uncut” and “uncircumcised” are fucking categories, it’s that common knowledge.

    Do those men know

    See above

    I’ve known grown men that didn’t know until the difference was shown to them

    I’ll grant you maybe knew one. I sincerely doubt it was more than one unless you grew up strict Christian or similar. Or 50 years ago before it was taught in sex ed classes. Which is fine, but also not most men in this day and age.

    Because having it done doesn’t change your life

    Someone at my school was bullied so hard they changed schools because their circumcision wasn’t done correctly and they had a bit of a wonky scar. Got seen in the locker room one day, never lived it down.

    I’ve known multiple men who were made fun of by women for being cut AND being uncut, because people suck.

    Also the nerves and sensitivity thing, though idk how true it actually is

    Is it the same life change? No. Is it still being treated differently because you were mutilated as a baby? Yes.


  • Most will not even know

    So you’re so stupid you think a man will see porn/other guys/ scientific drawings and not notice? You think most men are somehow unaware of what circumcision is and whether or not it was done to them?

    The two are not the same thing

    Weird, cuz to me they’re both Genital Mutilation, which is the same thing by literal definition.

    Fuck you for equation it.

    And fuck you for spreading wild misinformation, calling most men too stupid to know shit about their own fucking dick, and for acting like women have in any way been harmed or had their experiences downplayed by including men in the “ban ALL baby genital mutilation” call.

    FGM is horrific and should be banned worldwide with harsh punishments to anyone who does it. And a ban on GM at all would do that for both sexes