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