rs-nomad 0.16.0

This crate provides access to a set of strongly typed apis to interact with nomad (https://www.nomadproject.io/)
Documentation
version: "3.7"
services:
  generic-tester:
    container_name: generic-tester
    image: docker.artifactory.rbx.com/dbplat/build-container:107
    # Keep the container running even w/o an entrypoint
    tty: true
    # Configure Consul as the nameserver for this container (allows us to resolve consul services via DNS)
    dns:
      - "172.16.238.99"
      - "172.16.238.101"
    networks:
      - persistence
    ports:
      # Expose the Orchestrator debug port to see its metrics.
      - "16000-16100:16000-16100"
    environment:
      - NOMAD_ADDR=http://nomad:4646
      - NOMAD2_ADDR=http://nomad-2:4646
      - VAULT_ADDR=http://vault:8200
      - VAULT2_ADDR=http://vault-2:8200
      - RUST_LOG=debug
      - PROMETHEUS_ADDR=http://victoriametrics:8428
      - CONSUL_HTTP_ADDR=http://consul:8500
      - CONSUL2_HTTP_ADDR=http://consul-2:8500
      - NOMAD_REGION=us-central
      - NOMAD2_REGION=us-east
      - NOMAD_ALLOC_ID=test12345
      - NOMAD_DC=dc1
      - NOMAD2_DC=dc2

  crates-tester:
    container_name: crates-tester
    build:
      context: .
      dockerfile: Dockerfile
      args:
        # Allow Rust to use S3 as a cache if configured (optional)
        AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}
        AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY}
        SCCACHE_BUCKET: ${SCCACHE_BUCKET}
    networks:
      - persistence
    extra_hosts:
      - "mssql:172.16.238.100"
      - "mssql1:172.17.0.1"
    environment:
      - NOMAD_ADDR=http://nomad:4646
      - NOMAD2_ADDR=http://nomad-2:4646
      - VAULT_ADDR=http://vault:8200
      - VAULT2_ADDR=http://vault-2:8200
      - CONSUL_HTTP_ADDR=http://consul:8500
      - CONSUL2_HTTP_ADDR=http://consul-2:8500

networks:
  persistence:
    name: persistence
    external: true