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

Support executing scripts inside the /docker-entrypoint.d directory #361

Open
Fabccc opened this issue Jan 9, 2025 · 0 comments
Open

Support executing scripts inside the /docker-entrypoint.d directory #361

Fabccc opened this issue Jan 9, 2025 · 0 comments

Comments

@Fabccc
Copy link

Fabccc commented Jan 9, 2025

When I wanted to add SMTP configuration based on environment variable, I've been stuck because I couldn't execute script before redmine started.
My workaround was to create a custom Docker image based on this repo, and replace with sed the last line of the docker-entrypoint.sh to include executing scripts of directory inside of docker-entrypoint.d.
I think it's a common practice to be able to add user's defined script here.

I will provide a PR for this functionnality.

@Fabccc Fabccc changed the title Support executing scripts inside the /entrypoint.d directory Support executing scripts inside the /docker-entrypoint.d directory Jan 9, 2025
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

1 participant