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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file django_consul-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: django_consul-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0368306c47628b8f0591a9e60e215a0b299a2a8eb7383e8dfa882301a7d8f8a |
|
MD5 | 2ea51ab35d0f3471692fa14c914777cb |
|
BLAKE2b-256 | 3c28336be3beba93e51b1271cb2b17939e038968b81be02bdb21e86d5818ae7e |