👌 IMPROVE: Update TeamCity agent image and adjust node_exporter configuration
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user