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

Updates to Docker image #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Updates to Docker image #3

wants to merge 1 commit into from

Conversation

rcoup
Copy link

@rcoup rcoup commented Sep 5, 2018

@rouault I'm not 100% clear on what the Docker image was intended for, since it didn't expose/run any services; maybe just a clean build process to obtain task.zip?

Anyhow, I've made it additionally actually run a COG validator service

$ docker build -t cog_validator .
$ docker run --rm -p 5000:5000 cog_validator

Now runs the service on http://localhost:5000/

Additionally:

  • Enable customisable listen interface via environment variable LISTEN
  • Enable customisable upload size limit via environment variable COG_LIMIT
  • Update to GDAL 2.3.1
  • Enable ZSTD compression support
  • Redirect request to / to /html rather than 404ing

* Docker image now runs a working validator service.
* Enable customisable listen interface & size limit (via environment variables)
* Update to GDAL 2.3.1
* Enable ZSTD compression support
* Redirect `/` to `/html`

`docker run --rm -p 5000:5000 cog_validator` will now run the service on http://localhost:5000/
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

Successfully merging this pull request may close these issues.

None yet

1 participant