Metadata-Version: 2.1
Name: django-consul
Version: 0.3.0
Summary: A django app which register django service to consul server.
Home-page: 
Author: Xujia Li
Author-email: lixujiacn@outlook.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown

# django-consul
 
 A Django app which registering service to consul agent at start time.
 
## Installation

```shell script
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
