diff --git a/compose.yaml b/compose.yaml index fb45805..b5c9886 100644 --- a/compose.yaml +++ b/compose.yaml @@ -1,4 +1,3 @@ -version: '3.7' configs: telegraf_config: file: ./telegraf.conf @@ -27,4 +26,17 @@ services: - "-js" ports: - "4222:4222" - - "6222:6222" \ No newline at end of file + - "6222:6222" + etcd: + image: "quay.io/coreos/etcd:v3.5.7" + container_name: "etcd" + ports: + - "2379:2379" + command: + - "/usr/local/bin/etcd" + - "--name" + - "s1" + - "--listen-client-urls" + - "http://0.0.0.0:2379" + - "--advertise-client-urls" + - "http://0.0.0.0:2379" \ No newline at end of file