#!/bin/bash set -e # Создаем БД psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL CREATE DATABASE company; CREATE DATABASE vacancy; EOSQL