blonk is a radar for your web, where you follow vibes for cool blips on the radar
at main 92 lines 3.0 kB view raw
1import Config 2 3# Configure your database 4config :elixir_blonk, ElixirBlonk.Repo, 5 username: "postgres", 6 password: "postgres", 7 hostname: "localhost", 8 database: "elixir_blonk_dev", 9 stacktrace: true, 10 show_sensitive_data_on_connection_error: true, 11 pool_size: 10 12 13# For development, we disable any cache and enable 14# debugging and code reloading. 15# 16# The watchers configuration can be used to run external 17# watchers to your application. For example, we can use it 18# to bundle .js and .css sources. 19config :elixir_blonk, ElixirBlonkWeb.Endpoint, 20 # Binding to loopback ipv4 address prevents access from other machines. 21 # Change to `ip: {0, 0, 0, 0}` to allow access from other machines. 22 http: [ip: {127, 0, 0, 1}, port: 4000], 23 check_origin: false, 24 code_reloader: true, 25 debug_errors: true, 26 secret_key_base: "krPtNY7c3FaPlxzuqimUcQHGnEwkCpDNZpHQSWE979liUXlFMJzqO+FFpmeevPo9", 27 watchers: [ 28 esbuild: {Esbuild, :install_and_run, [:elixir_blonk, ~w(--sourcemap=inline --watch)]}, 29 tailwind: {Tailwind, :install_and_run, [:elixir_blonk, ~w(--watch)]} 30 ] 31 32# ## SSL Support 33# 34# In order to use HTTPS in development, a self-signed 35# certificate can be generated by running the following 36# Mix task: 37# 38# mix phx.gen.cert 39# 40# Run `mix help phx.gen.cert` for more information. 41# 42# The `http:` config above can be replaced with: 43# 44# https: [ 45# port: 4001, 46# cipher_suite: :strong, 47# keyfile: "priv/cert/selfsigned_key.pem", 48# certfile: "priv/cert/selfsigned.pem" 49# ], 50# 51# If desired, both `http:` and `https:` keys can be 52# configured to run both http and https servers on 53# different ports. 54 55# Watch static and templates for browser reloading. 56config :elixir_blonk, ElixirBlonkWeb.Endpoint, 57 live_reload: [ 58 patterns: [ 59 ~r"priv/static/(?!uploads/).*(js|css|png|jpeg|jpg|gif|svg)$", 60 ~r"priv/gettext/.*(po)$", 61 ~r"lib/elixir_blonk_web/(controllers|live|components)/.*(ex|heex)$" 62 ] 63 ] 64 65# Enable dev routes for dashboard and mailbox 66config :elixir_blonk, dev_routes: true 67 68# Do not include metadata nor timestamps in development logs 69config :logger, :console, format: "[$level] $message\n" 70 71# Set a higher stacktrace during development. Avoid configuring such 72# in production as building large stacktraces may be expensive. 73config :phoenix, :stacktrace_depth, 20 74 75# Initialize plugs at runtime for faster development compilation 76config :phoenix, :plug_init_mode, :runtime 77 78config :phoenix_live_view, 79 # Include HEEx debug annotations as HTML comments in rendered markup 80 debug_heex_annotations: true, 81 # Enable helpful, but potentially expensive runtime checks 82 enable_expensive_runtime_checks: true 83 84# Disable swoosh api client as it is only required for production adapters. 85# config :swoosh, :api_client, false 86 87# Firehose configuration 88config :elixir_blonk, :firehose_enabled, true 89 90# ATProto configuration 91config :elixir_blonk, :atproto_enabled, true 92config :elixir_blonk, :atproto_service, "https://bsky.social"