#!/bin/bash . .env mkdir -p ./src/main/resources echo ' org.postgresql.Driver jdbc:postgresql://localhost:'"$HOST_PORT"'/bbb '"$POSTGRES_USER"' '"$POSTGRES_PASSWORD"' com.zaxxer.hikari.hibernate.HikariConnectionProvider 5 10 30000 org.hibernate.dialect.PostgreSQL10Dialect true thread false false false ' > ./src/main/resources/hibernate.cfg.xml