A django app which register django service to consul server.
Project description
django-consul
A Django app which registering service to consul agent at start time.
Installation
pip install django-consul
Configurations
Add ConsulService
to INSTALLED_APPS setting.
CONSUL_AGENT_ADDRESS Consul agent server's address
CONSUL_AGENT_PORT Consul agent server's port
CONSUL_CHECK_URL API on service used by consul server to check it's status
CONSUL_CHECK_INTERVAL Status check interval
CONSUL_SERVICE_NAME Local service name
CONSUL_SERVICE_ADDRESS Local service address
SERVICE_PORT Local service port
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
django-consul-0.4.0.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for django_consul-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2ebc0fa09fc69f6edd86dd44674977b0a3e82786ce9d08d3c5b0adef1b6f5a9 |
|
MD5 | 355aff30d00c924cbd8845bdcc2c3895 |
|
BLAKE2b-256 | c45fd631a744a2abe515d0e63e41693704dde9ff5d52e9766e3e6a7393fdf634 |