Thanks for your reply @Anaisdg, but could you please point out where it answers my question regarding the exported environment variables? The docs state that these vars should be populated after the automated setup but that article doesn’t mention them at all.
As for my main issue, I take it from the docs that all scripts under /docker-entrypoint-initdb.d are supposed to be executed on startup without having to manipulate the image’s entrypoint, based on this:
When multiple scripts are present, they will be executed in lexical sort order by name
Also the examples demonstrate usage of plain docker run
commands which are almost identical to what I’m running. Doesn’t seem like the entrypoint should be specified…