ITISFoundation / osparc-simcore

🐼 osparc-simcore simulation framework
https://osparc.io
MIT License
46 stars 27 forks source link

Set public API entrypoints and set traffik to route it to api-gateway service #1474

Closed pcrespov closed 4 years ago

pcrespov commented 4 years ago

osparc will publish two independent entrypoints to access the system: one serves the website and the other offers a public RESTful API.

Configure traffik to publish appropirate entrypoints for each deployed environment. I propose:

The public api urls shall be routed to the api-gateway:8000 (default port for all fastapi-based services) service.

local

I guess this shall be configured in the edge traffik service and not the one in the simcore stack. If that is the case, the development setup can expose the webserver as localhost:9081 and the api-gateway is a different port localhost:????.

Review ports conventions:

sanderegg commented 4 years ago

these 2 are now re-directed to osparc.io.

pcrespov commented 4 years ago

@sanderegg please close this as soon as you have the entrypoints defined in staging & production THX

sanderegg commented 4 years ago

Ayeaye sir!