nomad

HCL and Docker files for Nomad deployments
git clone https://git.in0rdr.ch/nomad.git
Log | Files | Refs | Pull requests

digital-ocean-app.yaml (788B)


      1 alerts:
      2 - rule: DEPLOYMENT_FAILED
      3 - rule: DOMAIN_FAILED
      4 databases:
      5 - engine: PG
      6   name: myheats-db
      7 features:
      8 - buildpack-stack=ubuntu-22
      9 ingress:
     10   rules:
     11   - component:
     12       name: myheats-frontend
     13     match:
     14       path:
     15         prefix: /
     16   - component:
     17       name: myheats-api
     18     match:
     19       path:
     20         prefix: /api
     21 name: myheats-app
     22 region: fra
     23 services:
     24 - http_port: 80
     25   image:
     26     deploy_on_push:
     27       enabled: true
     28     registry_type: DOCR
     29     repository: myheats
     30     tag: latest
     31   instance_count: 1
     32   instance_size_slug: apps-s-1vcpu-0.5gb
     33   name: myheats-frontend
     34 - http_port: 8000
     35   image:
     36     deploy_on_push:
     37       enabled: true
     38     registry_type: DOCR
     39     repository: myheats
     40     tag: api
     41   instance_count: 1
     42   instance_size_slug: apps-s-1vcpu-0.5gb
     43   name: myheats-api
     44