POSTGRES_HOST_AUTH_METHOD=trust

This commit is contained in:
James Edington 2022-03-14 10:05:33 -05:00
parent fc7d133167
commit 10e360e6db
2 changed files with 1 additions and 3 deletions

View File

@ -15,7 +15,7 @@ config :pleroma, :instance,
config :pleroma, Pleroma.Repo, config :pleroma, Pleroma.Repo,
adapter: Ecto.Adapters.Postgres, adapter: Ecto.Adapters.Postgres,
username: System.get_env("DB_USER", "pleroma"), username: System.get_env("DB_USER", "pleroma"),
password: System.fetch_env!("DB_PASS"), password: System.get_env("DB_PASS", nil),
database: System.get_env("DB_NAME", "pleroma"), database: System.get_env("DB_NAME", "pleroma"),
hostname: System.get_env("DB_HOST", "db"), hostname: System.get_env("DB_HOST", "db"),
pool_size: 10 pool_size: 10

View File

@ -19,8 +19,6 @@ services:
volumes: volumes:
- ./uploads:/var/lib/pleroma/uploads - ./uploads:/var/lib/pleroma/uploads
- ./config:/var/lib/pleroma/config - ./config:/var/lib/pleroma/config
environment:
- "DB_PASS="
db: db:
restart: always restart: always