# 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

# Configures the endpoint
config :evercam_media, EvercamMedia.Endpoint,
  url: [host: "localhost"],
  secret_key_base: "joIg696gDBw3ZjdFTkuWNz7s21nXrcRUkZn3Lsdp7pCNodzCMl/KymikuJVw0igG",
  debug_errors: false,
  server: true,
  root: Path.expand("..", __DIR__),
  pubsub: [name: EvercamMedia.PubSub,
           adapter: Phoenix.PubSub.PG2]

config :logger, :console,
  format: "$date $time $metadata[$level] $message\n",
  metadata: [:request_id]

config :nginx_rtmp,
  hls_url: "http://localhost:8080"

config :exq,
  host: '127.0.0.1',
  port: 6379,
  namespace: "sidekiq",
  queues: ["to_elixir"]

config :onvif,
  default_profile: "Profile_1"

# 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"

# 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

# Configures the endpoint
config :evercam_media, EvercamMedia.Endpoint,
  check_origin: false,
  url: [host: "localhost"],
  secret_key_base: "joIg696gDBw3ZjdFTkuWNz7s21nXrcRUkZn3Lsdp7pCNodzCMl/KymikuJVw0igG",
  debug_errors: false,
  server: true,
  root: Path.expand("..", __DIR__),
  pubsub: [name: EvercamMedia.PubSub,
           adapter: Phoenix.PubSub.PG2]

config :logger, :console,
  format: "$date $time $metadata[$level] $message\n",
  metadata: [:request_id]

config :nginx_rtmp,
  hls_url: "http://localhost:8080"

config :exq,
  host: '127.0.0.1',
  port: 6379,
  namespace: "sidekiq",
  queues: ["to_elixir"]

config :onvif,
  default_profile: "Profile_1"

# 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"

Disable origin checks for all environments
Disable origin checks for all environments

shankardevy/evercam-media,shankardevy/evercam-media,shankardevy/evercam-media