Consul updates

- Docker compose file uses Consul version
 - add environment variable to disable chmod on Docker container start
   https://github.com/hashicorp/docker-consul/issues/20
- Update consul permissions on disk
This commit is contained in:
Nathaniel Landau
2022-03-25 13:25:56 -04:00
parent abbbdff16b
commit b14cca72ff
2 changed files with 29 additions and 7 deletions

View File

@@ -2,10 +2,12 @@ version: '3.9'
services:
consul:
image: consul:latest
image: 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