apache_conf config.exs

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了apache_conf config.exs相关的知识,希望对你有一定的参考价值。

use Mix.Releases.Config,
    default_release: :api,
    default_environment: Mix.env

environment :dev do
  set dev_mode: true
  set include_erts: false
  set cookie: :"[Redacted]"
end

environment :prod do
  set include_erts: true
  set include_src: false
  set cookie: :"[Redacted]"
end

release :api do
  plugin ExrmDeb.Distillery
  set version: current_version(:api)
  set overlays: [
    {:mkdir, "config"},
    {:copy, "rel/tmp/api/ejabberd.yml", "config/ejabberd_prod.yml"}
  ]

  set applications: [
    :exactor,
    :parallel_stream,
    api: :permanent,
    db: :permanent,
    mailchimp: :permanent
  ]
end

release :slack do
  set version: current_version(:slack)
  set applications: [
    :exactor,
    :parallel_stream,
    slack: :permanent,
    db: :permanent,
    mailchimp: :permanent
  ]
end

以上是关于apache_conf config.exs的主要内容,如果未能解决你的问题,请参考以下文章

如何将 Erlang sys.config 转换为 Elixir config.exs?

如何使用不属于库的本地环境变量?

apache_conf Redireciones

apache_conf Seguridad .htaccess

apache_conf htaccess的

apache_conf 基本认证