From 525ae01906d73d5002b604412c1e41b4a0d47915 Mon Sep 17 00:00:00 2001 From: Yuri Lima Date: Thu, 1 May 2025 07:59:51 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=8C=20IMPROVE:=20Update=20TeamCity=20a?= =?UTF-8?q?gent=20image=20and=20adjust=20node=5Fexporter=20configuration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 6780d69..1766b89 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,7 +18,7 @@ services: networks: - devops image: jetbrains/teamcity-server - #command: sleep infinity + teamcity-agent-1: restart: always container_name: teamcity-agent-1 @@ -37,7 +37,8 @@ services: - '/opt/buildagent/plugins:/opt/buildagent/plugins' - '/opt/buildagent/temp:/opt/buildagent/temp' - '/opt/buildagent/tools:/opt/buildagent/tools' - image: jetbrains/teamcity-agent:2023.11.1-linux-sudo + image: jetbrains/teamcity-agent:2025.03.1-linux-sudo + # image: jetbrains/teamcity-agent:2023.11.1-linux-sudo # image: jetbrains/teamcity-agent:2023.05.2-linux-sudo # image: jetbrains/teamcity-agent:latest watchtower: @@ -49,8 +50,10 @@ services: node_exporter: image: quay.io/prometheus/node-exporter:latest container_name: node_exporter - network_mode: host - pid: host + networks: + - devops + ports: + - "9100:9100" restart: unless-stopped command: - "--path.procfs=/host/proc" @@ -65,7 +68,6 @@ services: container_name: https_portal image: "steveltn/https-portal:1.23.0" restart: unless-stopped - user: "root" networks: - devops # internal network ports: @@ -85,4 +87,3 @@ services: - ./https_portal/log:/var/log/nginx # nginx logs depends_on: - teamcity-server -