environments:
  production:
    name: barcelona
    image_name: quay.io/degica/barcelona
    services:
      - name: web
        service_type: web
        cpu: 128
        memory: 256
        command: puma -C config/puma.rb
        force_ssl: true
        listeners:
          - endpoint: barcelona
            health_check_path: /health_check
      - name: worker
        command: rake jobs:work
        cpu: 128
        memory: 256
bcnd:
  mainline_branch: master
  mainline_environment: production

environments:
  production:
    name: barcelona
    image_name: quay.io/degica/barcelona
    scheduled_tasks:
      # 10AM JST every week day
      - schedule: cron(0 1 ? * MON-FRI *)
        command: bin/chaos --only staging
    services:
      - name: web
        service_type: web
        cpu: 128
        memory: 256
        command: puma -C config/puma.rb
        force_ssl: true
        listeners:
          - endpoint: barcelona
            health_check_path: /health_check
      - name: worker
        command: rake jobs:work
        cpu: 128
        memory: 256
bcnd:
  mainline_branch: master
  mainline_environment: production

Add chaos scheudled task (staging only)
Add chaos scheudled task (staging only)
