CoreMedia Headless Stitching Server Documentation

Documentation / Installation (Stitching Server)

Installation and Start (Stitching Server)

The following commands should all be called in the stitching directory.

cd servers/stitching


pnpm install
pnpm build

Copy of the file .env.example to .env and configure both endpoints. To establish the default mocking mode the CATALOG_ENDPOINT can be left commented out. In a “real” scenario you would configure the Commerce Headless GraphQL url instead.



pnpm start

Building the Docker Container

docker build -t <REGISTRY_NAME>/schema-stitching-app .
docker run -p 12345:4000 -e COREMEDIA_ENDPOINT= -e CATALOG_ENDPOINT= -e <REGISTRY_NAME>/schema-stitching-app:latest