👌 IMPROVE: Update TeamCity agent image and adjust node_exporter configuration
This commit is contained in:
@@ -18,7 +18,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- devops
|
- devops
|
||||||
image: jetbrains/teamcity-server
|
image: jetbrains/teamcity-server
|
||||||
#command: sleep infinity
|
|
||||||
teamcity-agent-1:
|
teamcity-agent-1:
|
||||||
restart: always
|
restart: always
|
||||||
container_name: teamcity-agent-1
|
container_name: teamcity-agent-1
|
||||||
@@ -37,7 +37,8 @@ services:
|
|||||||
- '/opt/buildagent/plugins:/opt/buildagent/plugins'
|
- '/opt/buildagent/plugins:/opt/buildagent/plugins'
|
||||||
- '/opt/buildagent/temp:/opt/buildagent/temp'
|
- '/opt/buildagent/temp:/opt/buildagent/temp'
|
||||||
- '/opt/buildagent/tools:/opt/buildagent/tools'
|
- '/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:2023.05.2-linux-sudo
|
||||||
# image: jetbrains/teamcity-agent:latest
|
# image: jetbrains/teamcity-agent:latest
|
||||||
watchtower:
|
watchtower:
|
||||||
@@ -49,8 +50,10 @@ services:
|
|||||||
node_exporter:
|
node_exporter:
|
||||||
image: quay.io/prometheus/node-exporter:latest
|
image: quay.io/prometheus/node-exporter:latest
|
||||||
container_name: node_exporter
|
container_name: node_exporter
|
||||||
network_mode: host
|
networks:
|
||||||
pid: host
|
- devops
|
||||||
|
ports:
|
||||||
|
- "9100:9100"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command:
|
command:
|
||||||
- "--path.procfs=/host/proc"
|
- "--path.procfs=/host/proc"
|
||||||
@@ -65,7 +68,6 @@ services:
|
|||||||
container_name: https_portal
|
container_name: https_portal
|
||||||
image: "steveltn/https-portal:1.23.0"
|
image: "steveltn/https-portal:1.23.0"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
user: "root"
|
|
||||||
networks:
|
networks:
|
||||||
- devops # internal network
|
- devops # internal network
|
||||||
ports:
|
ports:
|
||||||
@@ -85,4 +87,3 @@ services:
|
|||||||
- ./https_portal/log:/var/log/nginx # nginx logs
|
- ./https_portal/log:/var/log/nginx # nginx logs
|
||||||
depends_on:
|
depends_on:
|
||||||
- teamcity-server
|
- teamcity-server
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user