Closed
Description
I'm keen to run startup scripts on container restarts on existing (ie. not new) volumes.
I see that the docker-entrypoint.sh sadly only runs the docker_process_init_files function when $DATABASE_ALREADY_EXISTS=false so putting a script in /docker-entrypoint-initdb.d has no effect if you already have a volume with databases functioning. Is there an alternative to this that I am missing?
I tried looking upstream at the Ubuntu image and do not see a clear way there either.