#!/bin/bash set -e psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" <<-EOSQL create role chirpstack_as with login password 'chirpstack_as'; create database chirpstack_as with owner chirpstack_as; EOSQL