diff --git a/rel/overlays/bin/start-docker b/rel/overlays/bin/start-docker new file mode 100755 index 0000000..726bcd2 --- /dev/null +++ b/rel/overlays/bin/start-docker @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +CURDIR=$PWD +BINDIR=$(dirname -- "$0") +cd "$BINDIR"; BINDIR=$PWD; cd "$CURDIR" + +$BINDIR/prod eval 'AbsintheFederationExample.Release.create_repos()' +$BINDIR/prod eval 'AbsintheFederationExample.Release.migrate()' + +PHX_SERVER=true exec $BINDIR/prod start