diff --git a/elastalert/docker-compose.yml b/elastalert/docker-compose.yml index f59206e..1fe217f 100644 --- a/elastalert/docker-compose.yml +++ b/elastalert/docker-compose.yml @@ -2,9 +2,10 @@ version: "3.8" services: elastalert: - image: vimagick/elastalert + image: jertel/elastalert2 volumes: - - ./data:/opt/elastalert + - ./data/config.yaml:/opt/elastalert/config.yaml + - ./data/rules:/opt/elastalert/rules environment: - TZ=Asia/Shanghai restart: unless-stopped