HashiCorp Consul - Service discovery and configuration
Everything you need to deploy Consul with BlastDock
One command deployment
Production-ready security
Customizable settings
Ready to scale up
blastdock init
Initialize new project
blastdock deploy
Deploy the application
blastdock status
Check deployment status
blastdock logs
View application logs
Get Consul up and running in minutes with our one-click installation.
First, install BlastDock using pip (recommended):
pip install blastdock
Then deploy Consul with:
blastdock init consul
Interactive mode:
blastdock init consul -i
blastdock templates
List available templates
blastdock status project
Check deployment status
blastdock logs project
View application logs
blastdock stop project
Stop deployment
Customize your Consul installation with these configuration options.
HTTP API port
DNS port
Server port
Complete Docker Compose configuration for Consul deployment.
version: '3.8'
services:
consul:
image: hashicorp/consul:latest
container_name: {{ project_name }}_consul
restart: unless-stopped
ports:
- "8500"
- "8600/udp"
- "8300"
environment:
0: CONSUL_BIND_INTERFACE=eth0
volumes:
- /consul/data
networks:
- consul_network
volumes:
consul_data:
driver: local
networks:
consul_network:
driver: bridge