-
Notifications
You must be signed in to change notification settings - Fork 5
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
Remove unnecessary installs from DOCKERFILE.api.production #63
Comments
1, So the use of the stretch variant comes down to the question of the use of the wait-for-it script to test whether the container is able to make a connection with the postgres client prior to completing the rest of the bootup cycle. The stretch variant seemed to be necessary as per @znmeb for the use of of the required postgres client necessary to connect to the current database. The root of this usage is from this recommendation from Docker Compose: It does improve on the local dev container experience as usually the api container will attempt to startup prior to the database being booted. We may have adequate healthchecks on the database and api container through aws that this may not be necessary?
see ref in the comments of the docker file: https://docs.djangoproject.com/en/2.0/ref/contrib/gis/install/geolibs/
|
Thanks Brian - this is great insight, and thanks as always to the docs links!
|
|
|
Addressing some of item (2) with #71 |
There are three separate enhancements in the production DOCKERFILE that I don't believe are necessary for every project:
The text was updated successfully, but these errors were encountered: