ecs-consul-reg-0.1.3
توضیحات
AWS ECS Consul Registration
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | ecs-consul-reg-0.1.3 |
| نام | ecs-consul-reg |
| نسخه کتابخانه | 0.1.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Tim van der Hulst |
| ایمیل نویسنده | tim.vdh@gmail.com |
| آدرس صفحه اصلی | https://github.com/hampsterx/ecs-consul-reg |
| آدرس اینترنتی | https://pypi.org/project/ecs-consul-reg/ |
| مجوز | Apache2 |
# ecs consul reg
Docker container registration for Consul on AWS ECS.
You may want to use [registrator](https://github.com/gliderlabs/registrator) instead.
Main differences:
- python based (If I was comfortable with Golang I would probably just contribute to registrator instead)
- intended to be run on ec2 not within docker
- keeps detailed logs (json file)
- Uses Docker Health instead of running it's own checks
- @see [gliderlabs:issues/578](https://github.com/gliderlabs/registrator/issues/578)
## Install on Amazon ECS-Optimized Amazon Linux AMI 2
Pip is not installed:
curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
python get-pip.py
## Install
pip install ecs-consul-reg
## Run
ecs-consul-reg
## Initctl script
todo~
## Options
CONSUL_HOST=127.0.0.1
CONSUL_PORT=8500
Options can be supplied as env or in yaml config.
```
Usage: main.py [OPTIONS]
Options:
-c, --config TEXT
-lf, --logfile TEXT
-ll, --loglevel TEXT
--help Show this message and exit.
```
نیازمندی
| مقدار | نام |
|---|---|
| - | PyYAML |
| ==1.1.0 | python-consul |
| ==3.5.0 | docker |
| ==6.7 | click |
| ==0.5.3 | simple-json-log-formatter |
نحوه نصب
نصب پکیج whl ecs-consul-reg-0.1.3:
pip install ecs-consul-reg-0.1.3.whl
نصب پکیج tar.gz ecs-consul-reg-0.1.3:
pip install ecs-consul-reg-0.1.3.tar.gz