Music streaming on ATProto!
at main 1.2 kB view raw
1import Config 2 3# Configure your database 4# 5# The MIX_TEST_PARTITION environment variable can be used 6# to provide built-in test partitioning in CI environment. 7# Run `mix help test` for more information. 8config :comet, Comet.Repo, 9 username: "postgres", 10 password: "postgres", 11 hostname: "localhost", 12 database: "comet_test#{System.get_env("MIX_TEST_PARTITION")}", 13 pool: Ecto.Adapters.SQL.Sandbox, 14 pool_size: System.schedulers_online() * 2 15 16# We don't run a server during test. If one is required, 17# you can enable the server option below. 18config :comet, CometWeb.Endpoint, 19 http: [ip: {127, 0, 0, 1}, port: 4002], 20 secret_key_base: "p9+pymZBaKsKSlOfPLjw9HWpolaQwJSmVaepPAdfGpv3YUp/BO5SHkaS+Faavmec", 21 server: false 22 23# In test we don't send emails 24config :comet, Comet.Mailer, adapter: Swoosh.Adapters.Test 25 26# Disable swoosh api client as it is only required for production adapters 27config :swoosh, :api_client, false 28 29# Print only warnings and errors during test 30config :logger, level: :warning 31 32# Initialize plugs at runtime for faster test compilation 33config :phoenix, :plug_init_mode, :runtime 34 35# Enable helpful, but potentially expensive runtime checks 36config :phoenix_live_view, 37 enable_expensive_runtime_checks: true