AWS ECS Consul Registration
Project description
ecs consul reg
Docker container registration for Consul on AWS ECS.
You may want to use 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
- will create docker image at some point though
- keeps detailed logs (to file, structured output data coming soon)
- Uses Docker Health instead of running it's own checks
Install on Amazon Linux
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ecs-consul-reg-0.0.4.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for ecs_consul_reg-0.0.4-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 086f654a519d9790f5c54c1317102ee2fe8ff5fb176e44d64010e38ffb838113 |
|
MD5 | 77d7b9a96ef89eb594afea0ce2b755a4 |
|
BLAKE2b-256 | 3096347d37bb975e73c036b318c6781b502a38e507eead7ce1b73dde0b9399d2 |