{
  "family": "mml-awz-ort-OpcRouterPrimary",
  "networkMode": "bridge",
  "containerDefinitions": [
    {
      "name": "com-awz-ort-OpcRouterPrimary",
      "image": "opcrouter/runtime:latest",
      "cpu": 3072,
      "memory": 5120,
      "essential": true,
      "hostname": "opc-router-cluster",
      "environment": [
        { "name": "OR_I_ACCEPT_EULA", "value": "true" },
        { "name": "TZ", "value": "Europe/Berlin" },
        { "name": "OR_REDUNDANCY_LOCAL_MANAGEMENT_ADDRESS", "value": "http://host.docker.internal:8081/" },
        { "name": "AZURE_AD_TENNANT_ID", "value": "My-ID" },
        { "name": "OR_REDUNDANCY_SHARED_KEY", "value": "LUyLxk4kZdvYW9M6ZSBWbBatddj9RGow9Bp" },
        { "name": "AZURE_AD_DOMAIN", "value": "inray.onmicrosoft.com" },
        { "name": "OR_WEB_DISABLE_HTTPS", "value": "true" },
        { "name": "ASPNETCORE_FORWARDEDHEADERS_ENABLED", "value": "true" },
        { "name": "OR_REDUNDANCY_ENABLE_PROJECT_SYNC", "value": "true" },
        { "name": "AZURE_AD_CLIENT_ID", "value": "My-Client-ID" },
        { "name": "AZURE_AD_CALLBACK_PATH", "value": "/signin-oidc" },
        { "name": "OR_REDUNDANCY_PRIMARY_TIMEOUT", "value": "10" },
        { "name": "INITIAL_USERNAME", "value": "xxx" },
        { "name": "WEB_BASE_PATH", "value": "/opc-router" },
        { "name": "INITIAL_PASSWORD", "value": "xxx" },
        { "name": "OR_REDUNDANCY_MODE", "value": "1" },
		{ "name": "OR_REDUNDANCY_ADDRESS", "value": "http://host.docker.internal:8081/"
                },
      ],
      "portMappings": [
        {
          "containerPort": 8080,
          "hostPort": 8081,
          "protocol": "tcp"
        }
      ],
      "mountPoints": [
        {
          "containerPath": "/data",
          "sourceVolume": "opc-router-data"
        },
        {
          "containerPath": "/var/log/opcrouter",
          "sourceVolume": "opc-router-logs"
        }
      ],
      "logConfiguration": {
        "logDriver": "json-file"
      }
    }
  ],
  "volumes": [
    {
      "name": "opc-router-data",
      "host": { "sourcePath": "/opt/opc-router-data" }
    },
    {
      "name": "opc-router-logs",
      "host": { "sourcePath": "/opt/opc-router-logs" }
    }
  ],
  "requiresCompatibilities": [
    "EC2"
  ],
  "cpu": "3072",
  "memory": "5120",
  "tags": [
    { "key": "MIT_Project", "value": "ort" },
    { "key": "MIT_Group", "value": "mml" },
    { "key": "MIT_Division", "value": "awz" }
  ],
  "runtimePlatform": {
    "cpuArchitecture": "X86_64",
    "operatingSystemFamily": "LINUX"
  }
}
