mirror of
https://github.com/natelandau/ansible-homelab-config.git
synced 2025-11-18 09:53:41 -05:00
16 lines
405 B
Django/Jinja
16 lines
405 B
Django/Jinja
version: '3.9'
|
|
|
|
services:
|
|
consul:
|
|
image: hashicorp/consul:{{ consul_version }}
|
|
hostname: consul
|
|
container_name: consul
|
|
network_mode: "host"
|
|
environment:
|
|
- CONSUL_DISABLE_PERM_MGMT=
|
|
volumes:
|
|
- /volume1/docker/consul/data:/consul/data
|
|
- /volume1/docker/consul/config:/consul/config
|
|
command: consul agent -config-dir=/consul/config
|
|
restart: unless-stopped
|