This project is only a test for the toolkit ElvenGard.
cd .deploy
cp ~/.ssh/id_rsa.pub .
docker build -t elixir-deploy .
docker run --rm -p22:22 [... some options ...] elixir-deploy
docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' container_name
# Or for all containers running
docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' `docker ps -q`
cp .deliver/config.example .deliver/config
nano .deliver/config
ssh-keygen -R ip_addy
mix edeliver build release production
mix edeliver deploy release to production
mix edeliver start production
You can also deploy a cluster using docker-compose.
cp .deploy/docker-compose.yml.example .deploy/docker-compose.yml
nano .deploy/docker-compose.yml
docker-compose up --build
Currently developing this project, I will often open pull-requests. Any review is welcome.