Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged

Conversation

ProGM
Copy link
Contributor

@ProGM ProGM commented Aug 16, 2023

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.

…HOST_ROOT when creating the ssl certs

Since the script create_ssl_certs.sh is executed from inside the container, the directory is not the host one, but the container one.
@josegonzalez josegonzalez merged commit 9656968 into dokku:master Aug 20, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dokku-postgres fails to start on a fresh dokku installation using docker (
2 participants