simple_tensorflow_serving icon indicating copy to clipboard operation
simple_tensorflow_serving copied to clipboard

GPU docker with authentication

Open KonradAdamczyk opened this issue 4 years ago • 1 comments

Hi,

How to run TFserving GPU image with http basic auth enabled?

https://github.com/tobegit3hub/simple_tensorflow_serving/blob/master/Dockerfile.latest-gpu uses simple_tensorflow_serving: CMD ["simple_tensorflow_serving", "--port=8500", "--model_config_file=./examples/model_config_file.json"]

which don't have any auth related settings: https://github.com/tobegit3hub/simple_tensorflow_serving/blob/master/simple_tensorflow_serving/command.py

KonradAdamczyk avatar Dec 17 '20 17:12 KonradAdamczyk

The auth settings are in https://github.com/tobegit3hub/simple_tensorflow_serving/blob/master/simple_tensorflow_serving/server.py#L89 .

I'm not sure if it is available in WSGI and any contribution is welcome.

tobegit3hub avatar Dec 18 '20 06:12 tobegit3hub