Main application supervisor. Configurable via Application.get_env(:elixir_server_core, ...).
Configuration options
config :elixir_server_core,
router: MyApp.Router, # default: Core.HTTP.Router
port: 4000, # default: env PORT or 4000
ip: {0, 0, 0, 0}, # default: {0,0,0,0}
worker: Core.Workers.Worker, # default: Core.Workers.Worker
worker_pool_size: 8, # default: CPU cores
job_store: Core.JobStore.SQLite, # default: Core.JobStore.Memory
job_store_opts: [database: "priv/jobs.db"],
start_http: true, # default: true
start_workers: true # default: trueSet start_http: false to manage Plug.Cowboy yourself (e.g. in a Phoenix app).