can't resist
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

95 lines
2.9 KiB

# This file is responsible for configuring your umbrella
# and **all applications** and their dependencies with the
# help of Mix.Config.
# Note that all applications in your umbrella share the
# same configuration and dependencies, which is why they
# all use the same configuration file. If you want different
# configurations or dependencies per app, it is best to
# move said applications out of the umbrella.
use Mix.Config
# Configure Mix tasks and generators
config :db,
ecto_repos: [Db.Repo]
config :tomie,
user_agent: "Tomie/0.x +"
config :listens,
discogs_token: "kRIDCYTMRucJojWzQKlXlDAnDlQSgmXboMEZiUBT"
config :tomie, Oban,
repo: Db.Repo,
prune: {:maxlen, 10_000},
queues: [bookmarks: 10, listens: 10],
crontab: [
{"* * * * *", Listens.Workers.Listenbrainz, args: %{user: "inhji"}},
{"* * * * *", Listens.Workers.DiscogsArtist, args: %{}},
{"* * * * *", Listens.Workers.DiscogsAlbum, args: %{}}
config :tomie_web,
ecto_repos: [Db.Repo],
generators: [context_app: :tomie]
# Configures the endpoint
config :tomie_web, TomieWeb.Endpoint,
url: [host: "localhost"],
secret_key_base: "vA2gj8nBFMrN/nH0bjo09DfxDovTsbUZJbpnsawqXsTneL/F0nWEY5PfY5uptNra",
render_errors: [view: TomieWeb.ErrorView, accepts: ~w(html json)],
pubsub_server: TomieWeb.PubSub,
live_view: [signing_salt: "La8TeKsJi1aZt2Bhp8vXfx9HOOFpP/JY"]
config :tomie_web, :pow,
user: Tomie.Users.User,
repo: Db.Repo,
web_module: TomieWeb,
cache_store_backend: Pow.Store.Backend.MnesiaCache
config :mnesia, dir: 'cache'
# Configures Elixir's Logger
config :logger, :console,
format: "$time $metadata[$level] $message\n",
metadata: [:request_id]
# Use Jason for JSON parsing in Phoenix
config :phoenix, :json_library, Jason
config :chartkick, json_serializer: Jason
config :earmark,
render_options: [code_class_prefix: "language-"]
config :waffle,
storage: Waffle.Storage.Local,
storage_dir_prefix: "uploads"
config :git_ops,
mix_project: Tomie.Umbrella.MixProject,
changelog_file: "",
repository_url: "",
types: [
# Makes an allowed commit type called `tidbit` that is not
# shown in the changelog
tidbit: [
hidden?: true
# Makes an allowed commit type called `important` that gets
# a section in the changelog with the header "Important Changes"
important: [
header: "Important Changes"
# Instructs the tool to manage your mix version in your `mix.exs` file
# See below for more information
manage_mix_version?: true,
# Instructs the tool to manage the version in your
# Pass in `true` to use `""` or a string to customize
manage_readme_version: "",
version_tag_prefix: "v"
# Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above.
import_config "#{Mix.env()}.exs"