Skip Navigation

User banner
Posts
6
Comments
242
Joined
2 yr. ago

  • As a T1 diabetic, artificial sweeteners don't affect my blood sugar either. Caffeine does, though, unfortunately.

  • I have a similar docker/podman alias, except I pull first. This greatly reduces downtime between down and up, which is nice for critical services.

  • Right you are, I messed up the external host. Thanks!

  • Below is my current dockerfile, which is using 0.19.11 right now to fix the issue. The issue happens when I switch to 0.19.12.

     
        
    networks:
      # communication to web and clients
      lemmyexternalproxy:
      lemmybridge:
      # communication between lemmy services
      lemmyinternal:
        driver: bridge
        internal: true
    
    services:
      photon:
        image: ghcr.io/xyphyn/photon:latest
        networks:
          - lemmyexternalproxy
          - lemmyinternal
        ports:
          - 8080:3000
        environment:
          - PUBLIC_INSTANCE_URL=lemmy.frozeninferno.xyz
          - PUBLIC_LOCK_TO_INSTANCE=true
          - PUBLIC_DEFAULT_COMMENT_SORT=Top
          - PUBLIC_FULL_WIDTH_LAYOUT=true
          - PUBLIC_DEFAULT_FEED=Subscribed
        restart: unless-stopped
        depends_on:
          - lemmy
          - lemmy-ui
    
      proxy:
        image: nginx:1-alpine
        networks:
          - lemmyinternal
          - lemmyexternalproxy
        ports:
          # only ports facing any connection from outside
          - 8880:80
          - 8843:443
        volumes:
          - ./nginx.conf:/etc/nginx/nginx.conf:ro
          # setup your certbot and letsencrypt config
          - ./certbot:/var/www/certbot
          - ./letsencrypt:/etc/letsencrypt/live
        restart: unless-stopped
        depends_on:
          - pictrs
          - lemmy-ui
    
      lemmy:
        image: dessalines/lemmy:0.19.11
        hostname: lemmy
        networks:
          - lemmyinternal``
          - lemmybridge
        ports:
          - 8536:8536
        restart: unless-stopped
        environment:
          - RUST_LOG="warn,lemmy_server=info,lemmy_api=info,lemmy_api_common=info,lemmy_api_crud=info,lemmy_apub=info,lemmy_db_schema=info,lemmy_db_views=info,lemmy_db_views_actor=info,lemmy_db_views_moderator=info,lemmy_routes=info,lemmy_utils=info,lemmy_websocket=info"
        volumes:
          - ./lemmy.hjson:/config/config.hjson
        depends_on:
          - postgres
          - pictrs
    
      lemmy-ui:
        image: dessalines/lemmy-ui:0.19.11
        networks:
          - lemmyinternal
          - lemmybridge
        ports:
          - 1234:1234
        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=192.168.0.10:1236
          - LEMMY_UI_HOST=lemmy-ui:1234
          - LEMMY_HTTPS=true
        depends_on:
          - lemmy
        restart: unless-stopped
    
      pictrs:
        image: asonix/pictrs:0.5
        # this needs to match the pictrs url in lemmy.hjson
        hostname: pictrs
        # we can set options to pictrs like this, here we set max. image size and forced format for conversion
        # entrypoint: /sbin/tini -- /usr/local/bin/pict-rs -p /mnt -m 4 --image-format webp
        networks:
          - lemmyinternal
          - lemmybridge
        environment:
          - PICTRS__API_KEY=API_KEY
          - RUST_BACKTRACE=full
          - PICTRS__UPGRADE__CONCURRENCY=256
          - PICTRS__OLD_REPO__PATH=/mnt/sled-repo
          - PICTRS__REPO__TYPE=postgres
          - PICTRS__REPO__URL=postgres://lemmy:<censored>@postgres:5432/pictrs
        user: 991:991
        volumes:
          - ./pictrs:/mnt
        restart: unless-stopped
    
      postgres:
        image: postgres:16-alpine
        # this needs to match the database host in lemmy.hson
        hostname: postgres
        networks:
          - lemmyinternal
        environment:
          - POSTGRES_USER=lemmy
          - POSTGRES_PASSWORD=<censored>
          - POSTGRES_DB=lemmy
        volumes:
          - ./postgres:/var/lib/postgresql/data
        restart: unless-stopped
        shm_size: 12gb
    
      adminer:
        image: adminer
        restart: always
        networks:
          - lemmyinternal
          - lemmyexternalproxy
        ports:
          - 10000:8080
    
      
  • I'm using the regular Docker file, and I'm getting the same thing.

    Lots of the following in the UI logs.

     
        
    { name: 'couldnt_find_person', message: '' }
    { name: 'couldnt_find_post', message: '' }
    {
      name: 'unknown',
      message: 'Query deserialize error: invalid digit found in string'
    }
    {
      name: 'unknown',
      message: 'Query deserialize error: invalid digit found in string'
    }
    { name: 'couldnt_find_post', message: '' }
    { name: 'couldnt_find_post', message: '' }
    
      

    However, Photon's alternative UI works fine.

  • The only problem with Telegram = IRC angle is that I can't scroll up in IRC to see what I missed throughout the day. I legitimately would love to switch my friend group to a self-hosted IRC server, but chat history is important.

  • Unironically, yes. LLM generated text is chock-full of em-dashes for some reason. I still use regular dashes to separate clauses occasionally - like this - but not full em-dashes.

  • The third and fourth books actually start to introduce some really wild lore and world-building. Shame it was wasted on such a terrible main plot.

  • I hate to be that guy, but Ronnie Radke is a convicted murder accomplice and vocal transphobe. Which sucks, because I liked FiR :(

  • Strange, they do for me on Plasma Wayland.

  • Die a slow death from hyperglycemia once my pump runs out of insulin.

    Infect the indigenous population with some god awful pathogen they have no defense against.

    Die to a pathogen I have no defense against.

    Die to the indigenous population due to being a white dude in pre-contact North America.

    It uh... wouldn't be pretty.

  • A functional pancreas. Worked perfectly fine for 27 years, then my body just decided it was evil. Super neat.

  • I made my character in XCX a woman for the same reason. I'm a boring ass white straight cis dude. Games are a fantasy and escape from real life, maybe I wanna play as a chick or black guy or trans person or alien or something, fucking who gives a shit. I played Persona 5, and I wasn't mad that I'm not actually a 16-year-old Japanese boy.

  • That's not the only thing you said. You also implied emulation is only used for piracy, and then got rude and condescending when people rebutted your statement.

  • Not sure why I'm bothering with this, more trouble than a troll's worth, to be honest.

  • I didn't buy a $1200 PC to play TotK. I already had a $1200 PC and decided I wanted to use it to play the game I paid for (and dumped with my own console) with better performance.

  • Consider the scenario where you meet a man. You know his name is Bradley (either through mutual friends or whatever), but he introduces himself as Alex. You can call him Bradley, and it would be technically correct, but it would be slightly rude when he has explicitly given his preferred name as Alex.

  • 99% accurate, but to clarify, dxvk only translates DirectX versions 8-11 to Vulkan. vkd3d translates DX12 games.

  • They make ass pads for rowers. My gym did a community 10k row once, so I bought one while I was training for that.

  • That's one of the cool things about the framework, though, just the fact that you can, because I swap my ports all the time. I use it to game on my big TV at home, but I almost never need an HDMI port on the go, so I pop it out and pop in another USB-C or something.

  • Steam Deck @sopuli.xyz

    MoonDeck is awesome!

    Mildly Infuriating @lemmy.world

    This isn't a "hybrid" schedule, that's a 4 day work week

    linuxmemes @lemmy.world

    Accurate?

    Sync for Lemmy @lemmy.world

    Option to share post links from the user's home instance?

    Linux Gaming @lemmy.ml

    Remote Play rant

    Music @beehaw.org

    Electric Callboy - Everytime We Touch (TEKKNO Version) OFFICIAL VIDEO