version: v2beta1

builds:
- name: porter
  method: docker
  dockerfile: ./docker/Dockerfile
  env:
    raw: {}
    import_from:
      - default/base-env

apps:
- name: porter-dashboard
  depends_on:
    - postgres
  helm_chart:
    name: web
  build_ref: porter
  helm_values: # refer https://github.com/porter-dev/porter-charts/blob/master/applications/web/values.yaml
    container:
      command: 
    resources:
      requests:
        cpu: 400m
        memory: 512Mi

addons:
- name: postgres
  helm_chart:
    name: postgres
