PreviewHQ
  • Introduction
  • Basics
    • What is Continuous Product Review?
    • What is a Preview Environment?
    • Use Cases
      • Product and Stakeholder Review
      • QA Environments
      • Automated End-to-End Testing
      • Sales Demo Environments
      • Support Training
  • Getting Started
    • Installation
    • Add Configuration
    • Add a Cluster
    • Create a Deployment
      • with a Pull Request
      • with the Dashboard
      • with the CLI
      • with the API
  • Technical Stuff
    • Defining Deployments
      • Helm Charts
      • Kubernetes Manifests
      • [UNRELEASED] Terraform
    • Configuration File
      • Branches
      • Services
      • Chart Repositories
      • Chart Values
      • Docker Registries
      • Images
      • Webhooks
    • Template Strings
    • Using Seed Data
      • Using Shared Data Sources
    • Access Control
      • Preview Application Access
      • Preview Environment Access
    • Using Third-Party Integrations
    • Debugging
    • Current Limitations
  • Sample Applications
    • Emojivoto
    • Guestbook - Helm
    • Guestbook - Manifests
  • misc
    • FAQ
    • Changelog
    • Telemetry Data
    • Links
      • Homepace
      • Dashboard
Powered by GitBook
On this page

Was this helpful?

  1. Technical Stuff
  2. Configuration File

Services

The services key can be used to specify dependencies of your application. At the moment, these are limited to Helm charts that can be deployed, either community maintained charts, or private charts from within your own registry.

Example:

services:
  - service: postgresql
    chart: stable/postgresql
    valuesFile: 'chart-values/postgresql.yaml'
  - service: redis
    chart: stable/redis
    valuesFile: 'chart-values/redis.yaml'
  - service: memcached
    chart: stable/memcached
    valuesFile: 'chart-values/memcached.yaml'

Values files must be specified relative to the .preview/ directory.

While paths elsewhere in your repository can be specified (for example, ../config/preview/...), it is best practice to maintain these values within that directory.

PreviousBranchesNextChart Repositories

Last updated 4 years ago

Was this helpful?