mirror of
https://github.com/plausible/analytics.git
synced 2024-11-27 09:16:25 +03:00
e873d790e5
* Introduce SELFHOST config. Enable cron by default for self hosters * Fix cron, disable custom domain for selfhost * Add github links * Add notice about google search console on self hosted * Enfore BASE_URL * Set all selfhost users' trial expiry to 100 years from now * Fix admin user creation
32 lines
739 B
Elixir
32 lines
739 B
Elixir
import Config
|
|
|
|
# We don't run a server during test. If one is required,
|
|
# you can enable the server option below.
|
|
config :plausible, PlausibleWeb.Endpoint, server: false
|
|
|
|
config :bcrypt_elixir, :log_rounds, 4
|
|
|
|
config :plausible, Plausible.Repo, pool: Ecto.Adapters.SQL.Sandbox
|
|
|
|
config :plausible, Plausible.ClickhouseRepo,
|
|
loggers: [Ecto.LogEntry],
|
|
pool_size: 5
|
|
|
|
config :plausible, Plausible.Mailer, adapter: Bamboo.TestAdapter
|
|
|
|
config :plausible,
|
|
paddle_api: Plausible.PaddleApi.Mock,
|
|
google_api: Plausible.Google.Api.Mock
|
|
|
|
config :geolix,
|
|
databases: [
|
|
%{
|
|
id: :country,
|
|
adapter: Geolix.Adapter.Fake,
|
|
data: %{{1, 1, 1, 1} => %{country: %{iso_code: "US"}}}
|
|
}
|
|
]
|
|
|
|
config :plausible,
|
|
session_timeout: 0
|