# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # General application configuration config :lsg, namespace: LSG config :lsg, :data_path, "priv" config :lsg, :icecast_poll_interval, 600_000 # Configures the endpoint config :lsg, LSGWeb.Endpoint, url: [host: "localhost"], secret_key_base: "cAFb7x2p/D7PdV8/C6Os18uygoD0FVQh3efNEFc5+5L529q3dofZtZye/BG12MRZ", render_errors: [view: LSGWeb.ErrorView, accepts: ~w(html json)], server: true, pubsub: [name: LSG.PubSub, adapter: Phoenix.PubSub.PG2] # Configures Elixir's Logger config :logger, :console, format: "$time $metadata[$level] $message\n", metadata: [:request_id] config :mime, :types, %{"text/event-stream" => ["sse"]} config :lsg, :irc, handlers: [ LSG.IRC.BaseHandler, LSG.IRC.AdminHandler, LSG.IRC.BroadcastHandler, LSG.IRC.NpHandler, LSG.IRC.TxtHandler, LSG.IRC.KickRouletteHandler, LSG.IRC.LastFmHandler, LSG.IRC.YouTubeHandler, LSG.IRC.WikipediaHandler, LSG.IRC.DiceHandler, LSG.IRC.CalcHandler, ], plugins: [ LSG.IRC.CalcPlugin, LSG.IRC.WikipediaPlugin, LSG.IRC.QuatreCentVingtPlugin, ] #admins: [ # # Format is {nick, user, host}. :_ for any value. #] #irc: [ # host: "irc.", # port: 6667, # nick: "`115ans", # user: "115ans", # name: "https://sys.115ans.net/irc" #] config :lsg, LSG.IRC.LastFmHandler, api_key: "x", api_secret: "x" config :lsg, LSG.IRC.YouTubeHandler, api_key: "x" # 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"