Full Cosmo Docker

September 29, 2024 ยท View on GitHub

This example demonstrates how to run the entire Cosmo platform locally with Docker Compose.

Prerequisites

Getting started

Warning


Please give Docker Desktop enough resources (CPU, Memory) to run the platform. We recommend at least 4 CPUs and 8GB of memory.

  1. Start the platform:
./start.sh
  1. Navigate to the Studio Playground and login before with the default credentials:
Username: foo@wundergraph.com
Password: wunder@123

Finally :rocket:, run the query in the Playground:

query MyEmployees {
  employees {
    details {
      forename
    }
    currentMood
    derivedMood
    isAvailable
    notes
    products
  }
}

After you are done, you can clean up the demo by running ./destroy.sh.