convox.yml

The convox.yml file is a manifest used to describe your application and all of its infrastructure needs.

environment:
  - DEFAULT=value
resources:
  database:
    type: postgres
    options:
      storage: 200
services:
  web:
    build: .
    command: bin/web
    environment:
      - FOO
      - BAR=baz
    health: /health
    internal: true
    port: 3000
    resources:
      - database
    test: make test
  worker:
    build: ./worker
    command: bin/worker
    environment:
      - FOO
    resources:
      - database
  metrics:
    agent: true
    image: awesome/metrics
timers:
  cleanup:
    schedule: "0 3 * * ? *"
    command: bin/cleanup
    service: web