environments:
  production:
    name: barcelona
    image_name: quay.io/degica/barcelona
    before_deploy: rake db:migrate
    slack_url: https://hooks.slack.com/services/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
    services:
      - name: web
        service_type: web
        public: true
        cpu: 128
        memory: 256
        command: puma -C config/puma.rb
        force_ssl: true
        hosts:
          - hostname: barcelona.degica.com
            ssl_cert_path: s3://degica2-barcelona/certs/degica.com.crt
            ssl_key_path:  s3://degica2-barcelona/certs/degica.com.key
      - 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
    before_deploy: rake db:migrate
    slack_url: https://hooks.slack.com/services/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
    services:
      - name: web
        service_type: web
        public: true
        cpu: 128
        memory: 256
        command: puma -C config/puma.rb
        reverse_proxy_image: quay.io/degica/barcelona-reverse-proxy:dev
        force_ssl: true
        hosts:
          - hostname: barcelona.degica.com
            ssl_cert_path: s3://degica2-barcelona/certs/degica.com.crt
            ssl_key_path:  s3://degica2-barcelona/certs/degica.com.key
      - name: worker
        command: rake jobs:work
        cpu: 128
        memory: 256
bcnd:
  mainline_branch: master
  mainline_environment: production

Use dev version of reverse proxy
Use dev version of reverse proxy
