Set elasticsearch env variable in initialiser