Packages
mandrag
0.0.14
1.0.0-pre.0
0.8.1
0.8.0
0.7.3
0.7.2
0.7.1
0.7.0
0.6.10
0.6.9
0.6.8
0.6.7
0.6.6
0.6.5
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
0.5.1
0.5.0
0.4.1
0.4.0
0.3.3
0.3.2
0.3.1
0.3.0
0.2.4
0.2.1
retired
0.2.0
retired
0.1.1
0.1.0
0.0.21
0.0.20
0.0.19
0.0.18
0.0.17
0.0.16
0.0.15
0.0.14
0.0.13
0.0.12
0.0.11
0.0.10
0.0.9
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Build and Deploy Elixir releases to Kubernetes via Helm
Current section
Files
Jump to
Current section
Files
README.md
# Mandrag
A simple, extremely assumptive deploy script for [Phoenix](https://phoenixframework.org) apps, with help from [exrm](https://exrm.readme.io/).
## Installation
If [available in Hex](https://hex.pm/docs/publish), the package can be installed as:
1. Add mandrag to your list of dependencies in `mix.exs`:
```elixir
def deps do
[{:mandrag, "~> 0.0.1"}]
end
```
2. Add config info to appropriate mix config, most likely prod:
```elixir
config :mandrag,
build_location: :remote # where to build/compile the app, :remote to build on the remote host, :local to build locally
host: "host.com", # the host you're deploying to
user: "user", # the name of the user on the aforementioned host
key: "/home/user/.ssh/key.pem", # the path to the ssh key for the aforementioned user
name: App.Mixfile.project[:app], # the name of the app you're deploying
version: App.Mixfile.project[:version], # the version of the app you're deploying
repo: "git@github.com:cschiewek/mandrag.git" # git path, only required i build_location is remote
```