Hello, World!
This commit is contained in:
14
04-prometheus/docker-compose.yaml
Normal file
14
04-prometheus/docker-compose.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
services:
|
||||
prometheus:
|
||||
image: prom/prometheus:latest
|
||||
container_name: prometheus
|
||||
networks:
|
||||
nw-caddy:
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
volumes:
|
||||
- ./config:/etc/prometheus
|
||||
command:
|
||||
- '--config.file=/etc/prometheus/prometheus.yaml'
|
||||
- '--storage.tsdb.path=/prometheus'
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user