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:
webserver: osparc.io, staging.osparc.io and master.osparc.io
public api: api.osparc.io, staging.api.osparc.io and master.api.osparc.io
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:????.
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:
osparc.io
,staging.osparc.io
andmaster.osparc.io
api.osparc.io
,staging.api.osparc.io
andmaster.api.osparc.io
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 portlocalhost:????
.Review ports conventions: