nomad

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

config.yml.tmpl (576B)


      1 ---
      2 version: 0.1
      3 log:
      4   fields:
      5     service: registry
      6 storage:
      7   cache:
      8     blobdescriptor: inmemory
      9   filesystem:
     10     rootdirectory: /var/lib/registry
     11   delete:
     12     enabled: true
     13 http:
     14   addr: :5000
     15   headers:
     16     X-Content-Type-Options: [nosniff]
     17   tls:
     18     certificate: "/etc/letsencrypt/live/{{ key "registry/host" }}/fullchain.pem"
     19     key: "/etc/letsencrypt/live/{{ key "registry/host" }}/privkey.pem"
     20 auth:
     21   htpasswd:
     22     realm: basic-realm
     23     path: {{ env "NOMAD_SECRETS_DIR" }}/htpasswd
     24 health:
     25   storagedriver:
     26     enabled: true
     27     interval: 10s
     28     threshold: 3