docker.exs: don't call fetch_env! for DB_PASS
This commit is contained in:
parent
366e66b9ee
commit
7d478b6ba3
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
http: [ip: {0, 0, 0, 0}, port: System.get_env("PORT", "5000")]
|
||||
|
||||
config :pleroma, :instance,
|
||||
name: System.get_env("INSTANCE_NAME", "Pleroma"),
|
||||
name: System.get_env("INSTANCE_NAME", "Soapbox"),
|
||||
email: System.get_env("ADMIN_EMAIL"),
|
||||
notify_email: System.get_env("NOTIFY_EMAIL"),
|
||||
limit: 5000,
|
||||
|
@ -20,7 +20,7 @@
|
|||
_ ->
|
||||
config :pleroma, Pleroma.Repo,
|
||||
username: System.get_env("DB_USER", "postgres"),
|
||||
password: System.fetch_env!("DB_PASS", "postgres"),
|
||||
password: System.get_env("DB_PASS", "postgres"),
|
||||
database: System.get_env("DB_NAME", "postgres"),
|
||||
hostname: System.get_env("DB_HOST", "db")
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue