Skip to main content

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


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)

Uploaded Source

Built Distribution

django_consul-0.4.0-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page