fix
This commit is contained in:
9
start.sh
9
start.sh
@@ -1,9 +1,16 @@
|
||||
#!bin/bash
|
||||
|
||||
[[ ! -f .env ]] && {
|
||||
echo "Please create .env file and put domain"
|
||||
exit 1
|
||||
}
|
||||
|
||||
source .env
|
||||
|
||||
docker compose up -d
|
||||
|
||||
while [[ ! $(docker inspect -f {{.State.Health.Status}} vault) == "healthy" ]]; do
|
||||
sleep 0.5;
|
||||
done
|
||||
|
||||
docker exec vault /bin/sh -c "source /helpers/init.sh"
|
||||
docker exec vault /bin/sh -c "export VAULT_HOST=${VAULT_HOST} && source /helpers/init.sh"
|
||||
|
||||
Reference in New Issue
Block a user