mirror of
https://github.com/natelandau/ansible-homelab-config.git
synced 2025-11-18 09:53:41 -05:00
Initial commit
This commit is contained in:
13
templates/docker_compose_files/synology_consul.yml.j2
Normal file
13
templates/docker_compose_files/synology_consul.yml.j2
Normal file
@@ -0,0 +1,13 @@
|
||||
version: '3.9'
|
||||
|
||||
services:
|
||||
consul:
|
||||
image: consul:latest
|
||||
hostname: consul
|
||||
container_name: consul
|
||||
network_mode: "host"
|
||||
volumes:
|
||||
- /volume1/docker/consul/data:/consul/data
|
||||
- /volume1/docker/consul/config:/consul/config
|
||||
command: consul agent -config-dir=/consul/config
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user