• 0 Posts
  • 42 Comments
Joined 2 years ago
cake
Cake day: June 10th, 2023

help-circle


  • And I don’t drive a large crossover, I drive an escape phev, carpool with 2 other people, and use it for more than just ‘30 pounds of groceries’.

    I have filled it to the brim and gone camping multiple times this year, use it to transport my recycling to the transfer station every couple months, and at least twice a year do a large grocery shop at the Costco 4 hours away, stuffing it as full as I can manage.

    I regularly use it to transport things that wouldn’t fit in a vehicle smaller than this one. Hell, I managed to stuff my stove in the thing, though only just barely.

    For my daily commute, since I charge it both at home and at work, I only burn 3-4L of gas, which I would say is quite good for nearly 150km.

    The only way for my daily/weekly/monthly/yearly routine to be more eco friendly is if I could afford to trade it in for a full electric vehicle - and with the trips I do on a regular basis (including camping, day trips to the ‘nearby’ lakes, occasional work driving), I would need something with a range above 600km, preferably 700km to be safe in the winter. Otherwise I would have to maintain 2 vehicles - one an electric with a range of at least 200km and the other a small truck or mid sized SUV, and that kind of defeats the entire purpose.


  • While Canada making its own affordable, long range EV’s would be ideal in the long run, we literally have no canadian-owned production facilities or brands that currently can, or do produce low or mid end cars, and Canada seems to have no interest in subsidising those.

    Which means, in the short run, I want a vehicle I can afford to buy that doesn’t give me range anxiety, and the only reason I can’t is because Canada literally doubled the price of the cars that currently exist that fit my requirements because the US asked them to.


  • That works in the city but i live in a remote area, and have an hour and a half round trip to work every day because its not economically viable for me to move closer.

    Since I doubt Canada/BC will spend the money putting in viable public transit/high speed rail, I just want them to do the bare minimum to allow me to afford to stop burning gas to afford my next meal.

    While striving for turning every small town into a walkable city sounds great and amazing on paper, the reality is it won’t happen, so we should push for baby steps in the right direction instead only focusing on the absolute ideal.









  • I can share my traefik setup - note I am doing this on my phone at work, so I might miss something

    compose.yaml
    
        labels:
          - "traefik.enable=true"
          - "traefik.http.routers.traefik.middlewares=authwares@file"
    
      GNU nano 7.2                      /config/traefik/dynamic/middlewares.yaml
    http:
      middlewares:
    
        limit:
          buffering:
            memRequestBodyBytes: 5000000000
            memResponseBodyBytes: 5000000000
            maxRequestBodyBytes: 5000000000
            maxResponseBodyBytes: 5000000000
    
        authwares:
          chain:
            middlewares:
              - default-headers
              - authelia
              - limit
    
        default-headers:
          headers:
            accessControlAllowHeaders: "content-type,authorization"
            accessControlAllowMethods:
              - GET
              - OPTIONS
              - PUT
              - POST
              - DELETE
            frameDeny: true
            accessControlAllowOriginList: "*"
            accessControlMaxAge: 100
            addVaryHeader: true
            browserXssFilter: true
            contentTypeNosniff: true
            forceSTSHeader: true
            stsIncludeSubdomains: true
            stsPreload: true
            stsSeconds: 15552000
            customFrameOptionsValue: SAMEORIGIN
            referrerPolicy: "strict-origin-when-cross-origin"
            customRequestHeaders:
              X-Forwarded-Proto: https
            customResponseHeaders:
              X-Robots-Tag: "none,noarchive,nosnippet,notranslate,noimageindex"
              server: ""
              X-Forwarded-Proto: "https,wss"
            hostsProxyHeaders:
              - "X-Forwarded-Host"
    
        authelia:
          forwardAuth:
            address: http://auth/api/verify?rd=https%3A%2F%2Fauth.example.com%2F
            trustForwardHeader: true
            authResponseHeaders:
              - "Remote-User"
              - "Remote-Groups"
              - "Remote-Email"
              - "Remote-Name"
    
      GNU nano 7.2                            /config/traefik/traefik.yaml
    global:
      checkNewVersion: false
      sendAnonymousUsage: false
    
    entryPoints:
      web:
        address: :80
        proxyProtocol:
          insecure: false
          trustedIPs:
            - 172.32.0.0/16
            - 192.168.1.0/24
        forwardedHeaders:
          insecure: false
          trustedIPs:
            - 172.32.0.0/16
            - 192.168.1.0/24
        http:
          redirections:
            entryPoint:
              to: websecure
              scheme: https
              permanent: true
      websecure:
        address: :443
        proxyProtocol:
          insecure: false
          trustedIPs:
            - 172.32.0.0/16
            - 192.168.1.0/24
        forwardedHeaders:
          insecure: false
          trustedIPs:
            - 172.32.0.0/16
            - 192.168.1.0/24
        http:
          tls:
            options: modern@file
            certResolver: letsencrypt
            domains:
              - main: "example.com"
                sans:
                  - "*.example.com"
    
      providers:
      docker:
        exposedByDefault: false
        network: compose_proxied
        allowEmptyServices: true
        endpoint: "http://socket:2375/"
        defaultRule: "Host(`{{ index .Labels \"com.docker.compose.service\"}}.example.com`)"
      file:
        directory: /config/dynamic
        watch: true
    
    api:
      insecure: false
      dashboard: true
    
    certificatesResolvers:
      letsencrypt:
        acme:
          email: acme@example.com
          storage: /certificates/acme.json
          dnsChallenge:
            provider: cloudflare
            resolvers:
              - "1.1.1.1:53"
              - "1.0.0.1:53"
    
    log:
      level: DEBUG
      filePath: /config/logs/traefik.log
      format: json
    accesslog:
      filepath: /config/logs/access.log
      bufferingSize: 100
      format: json
    





  • I have a few:

    loginserver
    
    • 3 of these, 1 for each of my headless vm’s/computers that’s just an SSH command
    dcompose(d/pull) - docker compose (down/pull)
    

    3 scripts that are just docker compose up/down/pull, as scripts (remind me in 6 hours and I will post the scripts) so that it will CD to my compose folder, execute the command (with option for naming specific containers or blank for all) and then CD back to the directory I started in.