dokku / dokku-postgres

a postgres plugin for dokku
MIT License
491 stars 97 forks source link

Fix postgres:create when running inside a docker container #301

Closed ProGM closed 1 year ago

ProGM commented 1 year ago

This fixes #299

When running the command dokku postgres:create [some_name] from dokku installed inside docker, the command failed (silently), since it points to the host directory instead of the one inside the container.

I've switched from SERVICE_HOST_ROOT to SERVICE_ROOT when running create_ssl_certs.sh

I've also put a set -e in the creation scripts to improve debugging.