ex_trainer/priv/docker/service/docker-entrypoint.sh
Joao P Dubas b5eca5326f
feat: configure dnscluster to allow multi-node
* 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.
2024-09-20 21:55:51 +00:00

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