diff --git a/script/docker-compose/hertzbeat-mysql-iotdb/docker-compose.yaml b/script/docker-compose/hertzbeat-mysql-iotdb/docker-compose.yaml index aaa783b4367..e7716c86f7c 100644 --- a/script/docker-compose/hertzbeat-mysql-iotdb/docker-compose.yaml +++ b/script/docker-compose/hertzbeat-mysql-iotdb/docker-compose.yaml @@ -79,6 +79,7 @@ services: - ./conf/application.yml:/opt/hertzbeat/config/application.yml - ./conf/sureness.yml:/opt/hertzbeat/config/sureness.yml - ./ext-lib:/opt/hertzbeat/ext-lib + - ./logs:/opt/hertzbeat/logs ports: - "1157:1157" - "1158:1158" diff --git a/script/docker-compose/hertzbeat-mysql-tdengine/docker-compose.yaml b/script/docker-compose/hertzbeat-mysql-tdengine/docker-compose.yaml index a5054f3856c..3b449cfb214 100644 --- a/script/docker-compose/hertzbeat-mysql-tdengine/docker-compose.yaml +++ b/script/docker-compose/hertzbeat-mysql-tdengine/docker-compose.yaml @@ -78,6 +78,7 @@ services: - ./conf/application.yml:/opt/hertzbeat/config/application.yml - ./conf/sureness.yml:/opt/hertzbeat/config/sureness.yml - ./ext-lib:/opt/hertzbeat/ext-lib + - ./logs:/opt/hertzbeat/logs ports: - "1157:1157" - "1158:1158" diff --git a/script/docker-compose/hertzbeat-mysql-victoria-metrics/docker-compose.yaml b/script/docker-compose/hertzbeat-mysql-victoria-metrics/docker-compose.yaml index 5a59d8c4390..7e30d211b2b 100644 --- a/script/docker-compose/hertzbeat-mysql-victoria-metrics/docker-compose.yaml +++ b/script/docker-compose/hertzbeat-mysql-victoria-metrics/docker-compose.yaml @@ -78,6 +78,7 @@ services: - ./conf/application.yml:/opt/hertzbeat/config/application.yml - ./conf/sureness.yml:/opt/hertzbeat/config/sureness.yml - ./ext-lib:/opt/hertzbeat/ext-lib + - ./logs:/opt/hertzbeat/logs ports: - "1157:1157" - "1158:1158" diff --git a/script/docker-compose/hertzbeat-postgresql-victoria-metrics/docker-compose.yaml b/script/docker-compose/hertzbeat-postgresql-victoria-metrics/docker-compose.yaml index 7e2dc48cf72..39acc2540bc 100644 --- a/script/docker-compose/hertzbeat-postgresql-victoria-metrics/docker-compose.yaml +++ b/script/docker-compose/hertzbeat-postgresql-victoria-metrics/docker-compose.yaml @@ -80,6 +80,7 @@ services: volumes: - ./conf/application.yml:/opt/hertzbeat/config/application.yml - ./conf/sureness.yml:/opt/hertzbeat/config/sureness.yml + - ./logs:/opt/hertzbeat/logs ports: - "1157:1157" - "1158:1158"