squeaky-pl / japronto

Screaming-fast Python 3.5+ HTTP toolkit integrated with pipelining HTTP server based on uvloop and picohttpparser.
MIT License
8.61k stars 581 forks source link

Localhost should using port 8080 instead of 8000 from the docker run command #96

Closed phondanai closed 7 years ago

squeaky-pl commented 7 years ago

Thanks!

legenderrys commented 7 years ago

@squeaky-pl How can we implement the docker command via a docker.yaml file?

This is how i'm calling the service.

jpronto:
    image: japronto/japronto
    ports:
      - "8080:8080"
    volumes:
      - ./jpronto.py:/jpronto.py
    command: ["python","jpronto.py"]

and it's returning an error message of japronto: error: unrecognized arguments: jpronto.py