This repository has been archived. Please look for better examples if you want to deploy ML-driven application.
In order to deploy, you'll need to get mapbox API key here. Then in project directory run
echo MAPBOX_API_KEY=your.api.key > .env && \
docker pull nginx:latest && \
docker-compose up --build -d
Nginx configuration maps reverse proxy server to port 80
curl -i "localhost:80/api/stations"
"localhost:80/api?start=start_id&end=end_id"
start_id
(required) Valid start station idend_id
(required) Valid end station id
curl -i "localhost:80/api?start=73&end=39"