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

the docker-entrypoint.sh file is not having the capability of running setup files from i.e /always-initdb.d/* #1039

Closed
vadimbo opened this issue Jan 29, 2023 · 1 comment

Comments

@vadimbo
Copy link

vadimbo commented Jan 29, 2023

There is no easy way to have a setup file that I would need to run every time when the container starts.

An example would be to apply automatically the latest schema changes/updates on the existing DB.

Currently, the possibility is to set setup scripts in /docker-entrypoint-initdb.d/* that would be executed only in the case there is need to setup the DB (first time).

There is no possibility to execute setup scripts every time the container starts.
i.e. to have the scripts placed in /always-initdb.d/* executed every time the container starts.

@wglambert
Copy link

See #173, #821, #191, #929 (one of which I think this is really a duplicate).

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

No branches or pull requests

2 participants