askmike / gekko

A bitcoin trading bot written in node - https://gekko.wizb.it/
MIT License
10.08k stars 3.93k forks source link

Allow turning on SSL in Docker #2763

Closed interfect closed 5 years ago

interfect commented 5 years ago

This PR adds a feature (USE_SSL environment variable to control the Docker entrypoint) and documentation for it.

Currently there's no way to tell the docker entrypoint script to use SSL, so the Docker always produces a frontend that wants to talk to a "ws://" endpoint. This doesn't work behind an SSL-terminating reverse proxy.

Now you can set USE_SSL=1 along with the HOST and PORT variables, to tell the Docker to serve a frontend that expects to be behind HTTPS.

askmike commented 5 years ago

:+1: