Skip to content

Instantly share code, notes, and snippets.

@sgyyz
Created March 18, 2019 03:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sgyyz/647ce7b12e7f62cf4dd51f43dc09863c to your computer and use it in GitHub Desktop.
Save sgyyz/647ce7b12e7f62cf4dd51f43dc09863c to your computer and use it in GitHub Desktop.
## ....
environment :prod do
set include_erts: true
set include_src: false
set cookie: :"8[^a{lsZs|em/)Xg^pI}m2hXlmbzuuioM|[6mB6Pbno9MFuzWCNN{9TvK}(%]D<S"
set vm_args: "rel/vm.args"
set pre_start_hooks: "rel/hooks/pre_start"
set post_start_hooks: "rel/hooks/post_start"
end
release :dockerize_elixir do
set version: current_version(:dockerize_elixir)
set applications: [
:runtime_tools
]
set commands: [
create: "rel/commands/create_db.sh",
migrate: "rel/commands/migrate_db.sh"
]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment