dehaze

Installing Space Cloud on Docker

The recommended way to run Space Cloud is using the space-cli setup command, which installs Space Cloud in a Kubernetes cluster.

Running Space Cloud as a standalone docker container comes with some feature restrictions.

The features which are striked through are not available since they depend on Kubernetes.

  • Database
  • Filestore
  • Graphql API
  • Eventing
  • Caching
  • Deployments
  • Secrets
  • Ingress routing

When to use docker composelink

Running Space Cloud in docker can be useful for the following use cases:

  • Test out basic Space Cloud features
  • A POC project

Installationlink

We ship a docker-compose file for those seeking to use Space Cloud as a standalone docker image. Download the docker-compose file using commands shown below:

Windows users should use power shell for running the below command.

curl "https://raw.githubusercontent.com/spacecloud-io/space-cloud/master/install-manifests/docker/mongo/docker-compose.yaml" -o docker-compose.yaml
curl "https://raw.githubusercontent.com/spacecloud-io/space-cloud/master/install-manifests/docker/postgres/docker-compose.yaml" -o docker-compose.yaml && curl "https://raw.githubusercontent.com/spacecloud-io/space-cloud/master/install-manifests/docker/postgres/postgresql.conf" -o postgresql.conf
curl "https://raw.githubusercontent.com/spacecloud-io/space-cloud/master/install-manifests/docker/mysql/docker-compose.yaml" -o docker-compose.yaml
curl "https://raw.githubusercontent.com/spacecloud-io/space-cloud/master/install-manifests/docker/sql-server/docker-compose.yaml" -o docker-compose.yaml

Run the following command to start the containers:

docker-compose up -d

Have a technical question?

Improve the docs!