Merge branch 'more-docker-fixes' into 'develop'
docker.exs: don't call fetch_env! for DB_PASS See merge request soapbox-pub/soapbox-be!154
This commit is contained in:
commit
f3f269b523
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")]
|
http: [ip: {0, 0, 0, 0}, port: System.get_env("PORT", "5000")]
|
||||||
|
|
||||||
config :pleroma, :instance,
|
config :pleroma, :instance,
|
||||||
name: System.get_env("INSTANCE_NAME", "Pleroma"),
|
name: System.get_env("INSTANCE_NAME", "Soapbox"),
|
||||||
email: System.get_env("ADMIN_EMAIL"),
|
email: System.get_env("ADMIN_EMAIL"),
|
||||||
notify_email: System.get_env("NOTIFY_EMAIL"),
|
notify_email: System.get_env("NOTIFY_EMAIL"),
|
||||||
limit: 5000,
|
limit: 5000,
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
_ ->
|
_ ->
|
||||||
config :pleroma, Pleroma.Repo,
|
config :pleroma, Pleroma.Repo,
|
||||||
username: System.get_env("DB_USER", "postgres"),
|
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"),
|
database: System.get_env("DB_NAME", "postgres"),
|
||||||
hostname: System.get_env("DB_HOST", "db")
|
hostname: System.get_env("DB_HOST", "db")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue