chore(dev): ease local dev

This commit is contained in:
setop 2024-03-17 23:05:15 +01:00
parent 117d7f419c
commit 0dcd9569f8
2 changed files with 5 additions and 3 deletions

View File

@ -1,2 +1,4 @@
erlang 26.2.2 erlang 26.2.2
elixir 1.16.1-otp-26 elixir 1.16.1-otp-26
nodejs 18.19.1
postgres 13.8

View File

@ -5,9 +5,9 @@ config :mobilizon, Mobilizon.Web.Endpoint,
port: String.to_integer(System.get_env("MOBILIZON_INSTANCE_HOST_PORT", "4000")) port: String.to_integer(System.get_env("MOBILIZON_INSTANCE_HOST_PORT", "4000"))
], ],
url: [ url: [
host: System.get_env("MOBILIZON_INSTANCE_HOST", "mobilizon.local"), host: System.get_env("MOBILIZON_INSTANCE_HOST", "localhost"),
port: String.to_integer(System.get_env("MOBILIZON_INSTANCE_HOST_PORT", "80")), port: String.to_integer(System.get_env("MOBILIZON_INSTANCE_HOST_PORT", "4000")),
scheme: "http" scheme: System.get_env("MOBILIZON_INSTANCE_SCHEME", "http")
], ],
secret_key_base: System.get_env("MOBILIZON_INSTANCE_SECRET_KEY_BASE", "changethis"), secret_key_base: System.get_env("MOBILIZON_INSTANCE_SECRET_KEY_BASE", "changethis"),
debug_errors: true, debug_errors: true,