Skip to content
This repository was archived by the owner on Sep 6, 2019. It is now read-only.

IntelliZoomPlatform/ecs-registrator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Registrator on ECS

This Docker image adapts the GliderLabs Registrator utility so it can be easily run as an ECS task.

Sample ECS Task Definition

{
  "family": "registrator",
  "containerDefinitions": [
    {
      "essential": true,
      "mountPoints": [
        {
          "containerPath": "/rootfs",
          "sourceVolume": "root",
          "readOnly": true
        },
        {
          "containerPath": "/var/run",
          "sourceVolume": "var_run",
          "readOnly": false
        },
        {
          "containerPath": "/sys",
          "sourceVolume": "sys",
          "readOnly": true
        },
        {
          "containerPath": "/var/lib/docker",
          "sourceVolume": "var_lib_docker",
          "readOnly": true
        },
        {
          "containerPath": "/tmp/docker.sock",
          "sourceVolume": "docker_socket",
          "readOnly": true
        }
      ],
      "memory": 80,
      "name": "registrator",
      "cpu": 10,
      "image": "dwolla/ecs-registrator:latest"
    }
  ],
  "volumes": [
    {
      "host": {
        "sourcePath": "/"
      },
      "name": "root"
    },
    {
      "host": {
        "sourcePath": "/var/run"
      },
      "name": "var_run"
    },
    {
      "host": {
        "sourcePath": "/sys"
      },
      "name": "sys"
    },
    {
      "host": {
        "sourcePath": "/var/lib/docker/"
      },
      "name": "var_lib_docker"
    },
    {
      "host": {
        "sourcePath": "/var/run/docker.sock"
      },
      "name": "docker_socket"
    }
  ]
}

About

This Docker image adapts the GliderLabs Registrator utility so it can be easily run as an ECS task.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Shell 100.0%