This repository contains the frontend of the Sedimark marketplace, a web application to help Sedimark participants to publish, discover and consume offerings in the Sedimark catalogue.
You can run only the marketplace frontend using docker:
docker run -d -p 3000:3000 sedimark/marketplace-frontend:dev
To spawn a marketplace frontend instance together with its dependencies:
export MARKETPLACE_IMAGETAG="dev"
docker-compose up
Some kubernetes manifests are provides in the kubernetes
directory. The ingress manifest
assumes that Traefik is used as the ingress controller, and that a middleware named
traefik-chain-oauth
is available to handle the OAuth2 authentication. Feel free to
adapt the ingress manifest to your needs.
Prior to the deployment, export the necessary environment variables:
# App env
export BATCH_SIZE=40
# Kubernetes
export PUBLIC_NODE_DOMAIN="sedimark.ari-energy.eu"
export MARKETPLACE_IMAGETAG="dev"
You can now apply the Kubernetes manifests:
cat ./kubernetes/*.yaml | envsubst | kubectl apply -f -