import Config config :teslamate, TeslaMateWeb.Endpoint, http: [port: 4000], debug_errors: true, code_reloader: true, check_origin: false, watchers: [ node: [ "node_modules/webpack/bin/webpack.js", "--mode", "development", "--watch-stdin", cd: Path.expand("../assets", __DIR__) ] ], live_reload: [ patterns: [ ~r"priv/static/.*(js|css|png|jpeg|jpg|gif|svg)$", ~r"priv/gettext/.*(po)$", ~r"lib/test_web/(live|views)/.*(ex)$", ~r"lib/test_web/templates/.*(eex)$", ~r"grafana/dashboards/.*(json)$" ] ] config :logger, :console, format: "$metadata[$level] $message\n" config :phoenix, :stacktrace_depth, 20 config :phoenix, :plug_init_mode, :runtime config :teslamate, TeslaMate.Repo, username: "postgres", password: "postgres", database: "teslamate_dev", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 config :teslamate, :mqtt, host: "localhost", username: "dev", password: "dev" config :teslamate, disable_token_refresh: true config :teslamate, :srtm_cache, "./.srtm_cache"