-
Notifications
You must be signed in to change notification settings - Fork 102
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
No documentation #84
Comments
Does memcached itself support those environment variables? (We don't add any extra behavior here for handling environment variables like in some other images.) |
I guess https://github.com/memcached/memcached/wiki/ConfiguringServer#inspecting-running-configuration is probably the best way to check if your settings are actually working, but we don't add anything extra above what memcached itself does in this regard. |
Tianon, it was just example. Memcached doesn't support it. But a lot of images supports something like this. I have found the solution myself. The correct docker-compose.yml file is:
I think this example or some more examples how to use docker-entrypoint should be written in README.md. |
There's, uh, not much to document in our memcached/debian/docker-entrypoint.sh Lines 1 to 9 in 32c314b
|
I agree with you (even though ticket this was closed); your example was all that I needed to push me in the right direction, so thank you for sharing it. It took way longer than it should have to figure out how to do this, due to a bunch of half-complete examples that popped up first with a google I maybe should have tried chatgpt first, but I tried it after and it suggested something that doesn't even appear to be remotely correct. Hopefully the next person that tries to configure memcached for docker compose to customize the arguments will stumble upon this post |
Please add readme with docker-compose examples to configure settings like below:
And how to check does it work or not.
The text was updated successfully, but these errors were encountered: