Last active
January 17, 2017 13:28
-
-
Save pareeohnos/f4e40dcba626327331b7c3cc1c087803 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Import all plugins from `rel/plugins` | |
# They can then be used by adding `plugin MyPlugin` to | |
# either an environment, or release definition, where | |
# `MyPlugin` is the name of the plugin module. | |
Path.join(["rel", "plugins", "*.exs"]) | |
|> Path.wildcard() | |
|> Enum.map(&Code.eval_file(&1)) | |
use Mix.Releases.Config, | |
# This sets the default release built by `mix release` | |
default_release: :default, | |
# This sets the default environment used by `mix release` | |
default_environment: :dev | |
# For a full list of config options for both releases | |
# and environments, visit https://hexdocs.pm/distillery/configuration.html | |
# You may define one or more environments in this file, | |
# an environment's settings will override those of a release | |
# when building in that environment, this combination of release | |
# and environment configuration is called a profile | |
environment :dev do | |
set dev_mode: true | |
set include_erts: false | |
set cookie: :"MKW.ZGp2zJ9.!W~9:tR0alxClB)14t<BYQ7Zbw1n{Byu8*a}Z86KL7kByG>!oq~;" | |
end | |
environment :prod do | |
set include_erts: true | |
set include_src: false | |
set cookie: :";lPs[pc{da}j8mni:45G&b*evNJi`/KZJZSglA:~(l2;hBm([yI/{rr9?Es6rNrH" | |
end | |
# You may define one or more releases in this file. | |
# If you have not set a default release, or selected one | |
# when running `mix release`, the first release in the file | |
# will be used by default | |
release :my_app do | |
set version: "0.1.0" | |
set applications: [ | |
core: :permanent, | |
feed_aggregator: :permanent, | |
feed_ingestor: :permanent, | |
rule_engine: :permanent, | |
sir_topham_hat: :permanent, | |
] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment