with quantum-cli

Deployments with quantum-cli #

Download the quantum-cli binary, or use the Docker image at r.planetary-quantum.com/quantum-public/cli:3.

For more about what quantum-cli can do, see this quick introduction.

Basic deployments #

In a directory with your docker-compose.yml, do

$ quantum-cli stack deploy \
    --api-key $API_KEY \
    --endpoint $YOUR_ENDPOINT --stack $YOUR_ENDPOINT-somestackname

Instead of using --api-key:

  • set the QUANTUM_API_KEY env variable
  • create a ~/.config/quantum/env file:
QUANTUM_API_KEY=your-api-key

Different stack files #

You can customize the stack file quantum-cli uses, by using --file (-f):

quantum-cli stack deploy --file my-stack.yml