• 1 Post
  • 42 Comments
Joined 2 years ago
cake
Cake day: June 12th, 2023

help-circle
rss






  • It does it’s job but it’s suuper ineffective - you have to have a window open to suck in (hot outside) air that the portable AC cools itself with and throws out.
    That open window even with that “sock” cover it comes with, lets back so much of the outside air and if you are like me renting a badly insulated flat, you are comfortable only when the AC is running, it won’t really cool down (and keep cool) the living space.
    I do wonder why they don’t make a dual hose portable systems so that at least the unit is not pulling the air directly from the window, mixing already cool inside air with the hotter outside one.












  • Ah right, I assumed you were trying to connect the lemmy container to postgres running outside of docker.

    One important thing to remember with all docker compose files - the service name (the first keys in the services: configuration) is also the hostname of that container so to ping lemmy (from some other container in that docker compose) you would do ping lemmy, same for postgres ping postgres - but if the postgres service was named db0 then it would be ping db0.
    You also do not have to expose ports - all containers in that compose share one network (exposing is for outside access).
    All together your postgres config for lemmy should like this:

     database: { 
      # name of the postgres database for lemmy
      database: "lemmy" 
      # username to connect to postgres 
      user: "postgres"
      # password to connect to postgres
      password: "xxxxxxx"
      # host where postgres is running
      host: "postgres" 
      # port where postgres can be accessed
      port: 5432
      # maximum number of active sql connections
      pool_size: 10
    }