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 details)
Built Distribution
File details
Details for the file django-consul-0.4.0.tar.gz
.
File metadata
- Download URL: django-consul-0.4.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.9.6 requests/2.28.2 setuptools/49.2.1 requests-toolbelt/0.10.1 tqdm/4.64.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 845bfb09e588daf13b764e0704c4143e1a4741a39dc710b0dcd49669e4161d6b |
|
MD5 | 73e49df70fcfe4cff9a14f833e1d10f5 |
|
BLAKE2b-256 | 5a305c85d104414b0ae687055e890276bec6ef08cc82d77f6312c7ad8bdddeed |
File details
Details for the file django_consul-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: django_consul-0.4.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.9.6 requests/2.28.2 setuptools/49.2.1 requests-toolbelt/0.10.1 tqdm/4.64.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2ebc0fa09fc69f6edd86dd44674977b0a3e82786ce9d08d3c5b0adef1b6f5a9 |
|
MD5 | 355aff30d00c924cbd8845bdcc2c3895 |
|
BLAKE2b-256 | c45fd631a744a2abe515d0e63e41693704dde9ff5d52e9766e3e6a7393fdf634 |