• ohshit604@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    edit-2
    7 hours ago

    Things happen magically with docker. Container needs PostgreSQL? Expose the port, define a volume, username and password, connect service to that port, forget PostgreSQL’s existence until data corruption.

    • Sneezycat@sopuli.xyz
      link
      fedilink
      arrow-up
      2
      ·
      7 hours ago

      Not data corruption, but I replaced by mistake my .env file for authentik, containing the password for the postgresql database…

      Cue a couple existential crisis for not having set up backups, thinking about nuking the whole installation, learning about postgresql, and finally managing to manually set another password.

      Yeah, I feel several years older now…

    • cm0002@lemmy.worldOP
      link
      fedilink
      arrow-up
      4
      arrow-down
      3
      ·
      7 hours ago

      forget PostgreSQL’s existence until data corruption.

      Oh, so about 2 hours then LMAO