🔨」 fix: fixed some things.

This commit is contained in:
2025-07-22 17:36:34 +02:00
parent 49fcfe95a5
commit 7823851ab1
4 changed files with 23 additions and 3 deletions

View File

@ -3,7 +3,7 @@ services:
container_name: transcendence-api-user container_name: transcendence-api-user
build: build:
dockerfile: docker/api-base/Dockerfile dockerfile: docker/api-base/Dockerfile
context: .. context: ../../
volumes: volumes:
- db-user:/db - db-user:/db
networks: networks:
@ -18,7 +18,7 @@ services:
container_name: transcendence-api-auth container_name: transcendence-api-auth
build: build:
dockerfile: docker/api-base/Dockerfile dockerfile: docker/api-base/Dockerfile
context: .. context: ../../
volumes: volumes:
- db-auth:/db - db-auth:/db
networks: networks:

View File

@ -3,7 +3,7 @@ services:
container_name: transcendence-front container_name: transcendence-front
build: build:
dockerfile: docker/front/Dockerfile dockerfile: docker/front/Dockerfile
context: .. context: ../../
ports: ports:
- ${OUT_PORT}:443 - ${OUT_PORT}:443
environment: environment:

View File

@ -0,0 +1,16 @@
services:
node-exporter:
container_name: transcendence-node-exporter
image: prom/node-exporter:latest
volumes:
- /proc:/host/proc:ro
- /sys:/host/sys:ro
- /:/rootfs:ro
command:
- '--path.procfs=/host/proc'
- '--path.rootfs=/rootfs'
- '--path.sysfs=/host/sys'
- '--collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)'
networks:
- prom-exporter
restart: unless-stopped

View File

@ -19,3 +19,7 @@ scrape_configs:
- job_name: 'nginx' - job_name: 'nginx'
static_configs: static_configs:
- targets: ['nginx-exporter:9113'] - targets: ['nginx-exporter:9113']
- job_name: 'node-exporter'
static_configs:
- targets: ['node-exporter:9100']