• ohshit604@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    17
    arrow-down
    1
    ·
    edit-2
    1 day 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
      7
      ·
      1 day 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
      5
      arrow-down
      6
      ·
      1 day ago

      forget PostgreSQL’s existence until data corruption.

      Oh, so about 2 hours then LMAO