Sign inSign up

faisyl/pydemo

By faisyl

Updated over 8 years ago

TLS-enabled demo https server written in python

Image
0

1.5K

faisyl/pydemo repository overview

pydemo

A simple demo docker swarm service in python for testing TLS It runs a simple cherrypy service that listens on port 443, and serves over TLS. To setup TLS certificates, pass in the server certificate and key as secrets named server.crt and server.key.

Hitting https://hostname/sleep/5 will cause the server to sleep 5 seconds (emitting a line every second). This allows for simulating differing workloads.

Tag summary

Content type

Image

Digest

Size

20.2 MB

Last updated

over 8 years ago

docker pull faisyl/pydemo