alkem-io / server

Core server in the Alkemio platform, offering a GraphQL api for interacting with the logical domain model.
http://alkem.io
European Union Public License 1.2
24 stars 4 forks source link

Use alkemio domain as base for all configuration parameters using it #2066

Open valentinyanakiev opened 2 years ago

valentinyanakiev commented 2 years ago

Description

As an Alkemio Developer I would like to easily configure the application so that I have less overhead developing it.

Acceptance criteria

TBD - other documentation updates that are needed? Do we refer to these routes in other documentation files?

Additional Context

Note: one of the URLs for accessing Krator needs to remain a full URL as it is then used by the server to directly connect to Kratos within the cluster

e.g. acc config, see acc.alkem.io

  AUTH_ORY_KRATOS_ISSUER: https://acc.alkem.io
  AUTH_ORY_KRATOS_PUBLIC_BASE_URL: https://acc.alkem.io/identity/ory/kratos/public
  AUTH_ORY_KRATOS_PUBLIC_BASE_URL_SERVER: https://acc.alkem.io/identity/ory/kratos/public
  REACT_APP_ALKEMIO_DOMAIN: "https://acc.alkem.io"
  IPFS_CLIENT_ENDPOINT: https://acc.alkem.io/ipfs
  ENDPOINT_CLUSTER: https://acc.alkem.io
techsmyth commented 2 years ago

I think that there should be a clear list of end points that are always via the cluster, and those that potentially are directly accessed within the cluster e.g. AUTH_ORY_KRATOS_PUBLIC_BASE_URL_SERVER

Also good if we look at the naming scheme together on this one before doing it.