quaff

joined 2 years ago
[–] [email protected] 1 points 6 months ago* (last edited 6 months ago)

I removed mine since I moved away from Gitlab. There's other comments with working docker composes, but here's the latest working version of mine if you're interested:

services:
  gluetun:
    image: ghcr.io/qdm12/gluetun:latest
    container_name: gluetun
    # line above must be uncommented to allow external containers to connect. See https://github.com/qdm12/gluetun/wiki/Connect-a-container-to-gluetun#external-container-to-gluetun
    restart: always
    cap_add:
      - NET_ADMIN
    devices:
      - /dev/net/tun:/dev/net/tun
    volumes:
      - ./data:/gluetun
    environment:
      ## ProtonVPN Wireguard
      - VPN_SERVICE_PROVIDER=custom
      - VPN_TYPE=wireguard
      - VPN_ENDPOINT_IP=${WIREGUARD_ENDPOINT_IP}
      - VPN_ENDPOINT_PORT=${WIREGUARD_ENDPOINT_PORT}
      - WIREGUARD_PUBLIC_KEY=${WIREGUARD_PUBLIC_KEY}
      - WIREGUARD_PRIVATE_KEY=${WIREGUARD_PRIVATE_KEY}
      - WIREGUARD_ADDRESSES=${WIREGUARD_ADDRESSES}
      - TZ=Etc/UTC
    ports:
      - ${QBITTORRENT_EXPOSED_WEBUI_PORT}:8080/tcp # qBittorrent Web UI

  qbittorrent:
    # https://docs.linuxserver.io/images/docker-qbittorrent
    build: .
    container_name: qbittorrent
    restart: always
    volumes:
      - ./config:/config
      # using download path as mount so other services can play nice
      - ${QBITTORRENT_DOWNLOAD_PATH}:${QBITTORRENT_DOWNLOAD_PATH}
      - ${QBITTORRENT_THEMES_PATH}:/themes
    environment:
      # https://github.com/linuxserver/docker-qbittorrent#umask-for-running-applications
      - PUID=${QBITTORRENT_WRITE_UID}
      - PGID=${QBITTORRENT_WRITE_GID}
      - UMASK=0002
      - TZ=Etc/UTC
      - WEBUI_PORT=8080
    network_mode: "service:gluetun"
    depends_on:
      gluetun:
        condition: service_healthy

  portcheck:
    image: eiqnepm/portcheck:latest
    container_name: portcheck
    restart: always
    environment:
      - QBITTORRENT_PORT=6881
      - QBITTORRENT_WEBUI_PORT=8080
      - QBITTORRENT_WEBUI_SCHEME=http
      - QBITTORRENT_USERNAME=admin
      - QBITTORRENT_PASSWORD=${QBITTORRENT_ADMIN_PASSOWRD}
      - TIMEOUT=300
      - DIAL_TIMEOUT=5
    network_mode: "service:gluetun"
    depends_on:
      qbittorrent:
        condition: service_healthy
[–] [email protected] 4 points 7 months ago* (last edited 7 months ago)

Pretty simple to switch (if you have a little docker experience). Create a folder (e.g. ./postgres), add the folder as a volume in the postgres portion of the compose file (maybe something like /db), then run just the database with newly mounted folder, shell in, and copy everything from the Postgres folder to this new folder. After that, swap mounts so the new folder is used as Postgres db and you’re good. If something went wrong, the pgdata volume is still there to switch back to.

[–] [email protected] 0 points 7 months ago

Got a DM from the OP:

Hey! Sorry, I'm replying in PM instead for this thread. Since I'm new to lemmy, the post was removed on my instance because I didn't have enough karma to post pictures but it still got published to lemmy.ml.

The things I'm using are:

  • OS: Nix
  • WM: Sway
  • Bar: Waybar
  • Fonts: Iosevka Aile + Pragmata Pro
  • Emacs windows: Eww + Mu4e + .emacs config

Full dots are here https://git.mccd.space/pub/dotfiles/

[–] [email protected] 4 points 7 months ago (1 children)

Asahi Linux is shaping up nicely. I’ll probably install that soon. 👀

[–] [email protected] 8 points 7 months ago

True that. Small victories 🥲

[–] [email protected] 5 points 7 months ago (1 children)

Make one, if for nothing else as a portfolio piece!

[–] [email protected] 37 points 7 months ago (10 children)

It’s funny. I have been forced to use macOS because of work, and I use rectangle to mimic what KDE plasma does out of the box. I’d suggest using KDE if you wanted something powerfully customizable and user friendly. If you find something that works with other windows decorations (non-KDE), I’d love to know about them too for when I inevitably switch back to Linux Desktop!

[–] [email protected] 0 points 7 months ago

I just want search by post, and I’ll be happy 🥲

[–] [email protected] 0 points 8 months ago (2 children)

Looks like neofetch!

[–] [email protected] 0 points 8 months ago

Haha I meant, I guess that’s why Twitter isn’t on the list. Since the name itself didn’t become part of our vocabulary.

[–] [email protected] 0 points 8 months ago* (last edited 8 months ago) (1 children)

Both words are used, so I understand the confusion; also, sprinkled with a little misspelling:

Dumpster: The Dempster Brorthers, Inc.

EDIT: Just read the Dumpster Wikipedia page. The Dempster Brothers' had a truck called The Dempster Dumpmaster 😂

[–] [email protected] 9 points 8 months ago

Good share. I saw the nudge in the mobile app, but I didn't realize there was breaking changes and upgraded in the middle of the night before bed (what the hell was I thinking???). Spent a good extra hour trying to figure out why.

Key take away, the pgvecto.rs version needs to be upgraded. If you are using docker, update the docker-compose.yml. If you're not, upgrade your pgvector.rs version first. 🙏

view more: ‹ prev next ›