diff options
author | Clyhtsuriva <aimeric@adjutor.xyz> | 2025-05-24 17:09:04 +0200 |
---|---|---|
committer | Clyhtsuriva <aimeric@adjutor.xyz> | 2025-05-24 17:09:04 +0200 |
commit | bd967b68a274f79a0c5f351d228ff9279e0e9a89 (patch) | |
tree | d207feaf70f34c7c9468e83ef43dd9e0fc169e35 /prometheus |
Initial commit
Diffstat (limited to 'prometheus')
-rw-r--r-- | prometheus/compose.yaml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/prometheus/compose.yaml b/prometheus/compose.yaml new file mode 100644 index 0000000..e535363 --- /dev/null +++ b/prometheus/compose.yaml @@ -0,0 +1,15 @@ +volumes: + prometheus-data: + driver: local +services: + prometheus: + image: docker.io/prom/prometheus:v3.4.0 + container_name: prometheus + ports: + - 10.0.0.1:9090:9090 + command: --config.file=/etc/prometheus/prometheus.yaml + volumes: + - ./config/prometheus.yaml:/etc/prometheus/prometheus.yaml:ro + - prometheus-data:/prometheus + restart: unless-stopped +networks: {} |