Skip to content

Sedimark/marketplace-frontend

Repository files navigation

Marketplace frontend

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.

Getting started

With Docker

You can run only the marketplace frontend using docker:

docker run -d -p 3000:3000 sedimark/marketplace-frontend:dev

With Docker Compose

To spawn a marketplace frontend instance together with its dependencies:

export MARKETPLACE_IMAGETAG="dev"
docker-compose up

In Kubernetes

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 -

About

The frontend of the Sedimark marketplace

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages