#!/bin/bash # this script creates random passwords # and updates the .env file # create a new environment file # random password for Database connection RANDOMPASSWORD=`date +%s | sha256sum | base64 | head -c 32` # the hostname which we can use in order to access rundeck # from the outside. # we set this to the hostname of the docker host GRAILS_HOST_NAME=`hostname` (cat >.env) <