with quantum-cli

Deployments with quantum-cli #

Check out the quick introduction to learn how to install quantum-cli.

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