mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
32 lines
846 B
Elixir
32 lines
846 B
Elixir
import Config
|
|
|
|
# Only in tests, remove the complexity from the password hashing algorithm
|
|
config :bcrypt_elixir, :log_rounds, 1
|
|
|
|
# Configure your database
|
|
config :philomena, Philomena.Repo,
|
|
username: "postgres",
|
|
password: "postgres",
|
|
database: "philomena_test",
|
|
pool: Ecto.Adapters.SQL.Sandbox
|
|
|
|
config :philomena,
|
|
elasticsearch_url: "http://elasticsearch:9200",
|
|
redis_host: "redis",
|
|
pwned_passwords: false,
|
|
captcha: false
|
|
|
|
config :exq,
|
|
host: "redis"
|
|
|
|
config :philomena, Philomena.Mailer, adapter: Bamboo.LocalAdapter
|
|
config :philomena, :mailer_address, "test@philomena.lc"
|
|
|
|
# We don't run a server during test. If one is required,
|
|
# you can enable the server option below.
|
|
config :philomena, PhilomenaWeb.Endpoint,
|
|
http: [port: 4002],
|
|
server: false
|
|
|
|
# Print only warnings and errors during test
|
|
config :logger, level: :warn
|