{
  "graph": {
    "metadata": {
      "name": "C:\\scm\\InkByte\\packages\\deterministic\\fixtures\\docker-compose\\demo-direct-db.yml",
      "description": "Generated by archrad init from Docker Compose",
      "provenance": {
        "source": "docker-compose",
        "mode": "init"
      }
    },
    "nodes": [
      {
        "id": "api",
        "type": "gateway",
        "name": "api",
        "config": {
          "compose": {
            "image": "mycompany/api:latest",
            "envKeys": [
              "DATABASE_URL"
            ]
          }
        }
      },
      {
        "id": "postgres",
        "type": "postgres",
        "name": "postgres",
        "config": {
          "compose": {
            "image": "postgres:15"
          }
        }
      },
      {
        "id": "redis",
        "type": "cache",
        "name": "redis",
        "config": {
          "compose": {
            "image": "redis:7-alpine"
          }
        }
      },
      {
        "id": "nginx",
        "type": "gateway",
        "name": "nginx",
        "config": {
          "compose": {
            "image": "nginx:alpine"
          }
        }
      }
    ],
    "edges": [
      {
        "id": "e_api_postgres_0",
        "from": "api",
        "to": "postgres",
        "metadata": {
          "protocol": "tcp",
          "async": false,
          "relation": "depends_on"
        }
      },
      {
        "id": "e_api_redis_1",
        "from": "api",
        "to": "redis",
        "metadata": {
          "protocol": "tcp",
          "async": false,
          "relation": "depends_on"
        }
      },
      {
        "id": "e_api_postgres_2",
        "from": "api",
        "to": "postgres",
        "metadata": {
          "protocol": "tcp",
          "async": false,
          "relation": "connectionUrl",
          "env": "DATABASE_URL"
        }
      }
    ]
  }
}
