DISREGARD.
I hadn’t fully read/understood one of the comments I found in a different thread: Connected Postgres DB Throws Domain not found error - #22 by andreyuhai
The Ecto repo needs to be configured to accept IPv6 connetions, like so:
config :pleroma, Pleroma.Repo,
adapter: Ecto.Adapters.Postgres,
username: System.get_env("DB_USER", "pleroma"),
password: System.fetch_env!("DB_PASS"),
database: System.get_env("DB_NAME", "pleroma"),
hostname: System.get_env("DB_HOST", "db"),
pool_size: 10,
socket_options: [:inet6] # THIS IS THE THING
Neither Pleroma nor the community-maintained Dockerfile I was using had this set. ![]()