---
router:
  routes:
    - www.{env}.marketplace.team
    - api.{env}.marketplace.team
    - search-api.{env}.marketplace.team
    - antivirus-api.{env}.marketplace.team
    - assets.{env}.marketplace.team

api:
  routes:
    - dm-api-{env}.cloudapps.digital
  services:
    - digitalmarketplace_api_db

search-api:
  routes:
    - dm-search-api-{env}.cloudapps.digital
  services:
    - search_api_elasticsearch

antivirus-api:
  memory: 2G
  routes:
    - dm-antivirus-api-{env}.cloudapps.digital

user-frontend:
  routes:
    - dm-{env}.cloudapps.digital/user

admin-frontend:
  routes:
    - dm-{env}.cloudapps.digital/admin

buyer-frontend:
  routes:
    - dm-{env}.cloudapps.digital
    - dm-{env}.cloudapps.digital/buyers/direct-award

supplier-frontend:
  routes:
    - dm-{env}.cloudapps.digital/suppliers

briefs-frontend:
  routes:
    - dm-{env}.cloudapps.digital/buyers

brief-responses-frontend:
  routes:
    - dm-{env}.cloudapps.digital/suppliers/opportunities
    - dm-{env}.cloudapps.digital/suppliers/opportunities/metrics
  services:
    - digitalmarketplace_prometheus

db-backup:
  instances: 1
  memory: 128M
  services:
    - digitalmarketplace_api_db

---
router:
  routes:
    - www.{env}.marketplace.team
    - api.{env}.marketplace.team
    - search-api.{env}.marketplace.team
    - antivirus-api.{env}.marketplace.team
    - assets.{env}.marketplace.team

api:
  routes:
    - dm-api-{env}.cloudapps.digital
  services:
    - digitalmarketplace_api_db

search-api:
  routes:
    - dm-search-api-{env}.cloudapps.digital
  services:
    - search_api_elasticsearch

antivirus-api:
  memory: 2G
  routes:
    - dm-antivirus-api-{env}.cloudapps.digital

user-frontend:
  routes:
    - dm-{env}.cloudapps.digital/user

admin-frontend:
  routes:
    - dm-{env}.cloudapps.digital/admin

buyer-frontend:
  routes:
    - dm-{env}.cloudapps.digital
    - dm-{env}.cloudapps.digital/buyers/direct-award

supplier-frontend:
  routes:
    - dm-{env}.cloudapps.digital/suppliers

briefs-frontend:
  routes:
    - dm-{env}.cloudapps.digital/buyers

brief-responses-frontend:
  routes:
    - dm-{env}.cloudapps.digital/suppliers/opportunities
    - dm-{env}.cloudapps.digital/suppliers/opportunities/_metrics
  services:
    - digitalmarketplace_prometheus

db-backup:
  instances: 1
  memory: 128M
  services:
    - digitalmarketplace_api_db

Update metrics path with _ now RE have a workaround
Update metrics path with _ now RE have a workaround
