* Configure `docker-compose` to scale at least 2 nodes. * Add script to start service with proper naming * Create custom resolver. * This is not strictly necessary.
3 lines
110 B
Bash
Executable File
3 lines
110 B
Bash
Executable File
#!/usr/bin/env bash
|
|
elixir --name ${HOSTNAME}@$(hostname -i | cut -d ' ' -f1) --cookie ${1} -S mix phx.server
|