Update docker-compose.yml
This commit is contained in:
parent
c39ead6efc
commit
4fc46c30c8
@ -89,7 +89,26 @@ services:
|
|||||||
max-file: 2
|
max-file: 2
|
||||||
max-size: 5m
|
max-size: 5m
|
||||||
|
|
||||||
|
prometheus:
|
||||||
|
container_name: prometheus
|
||||||
|
image: prom/prometheus:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
command: --config.file=/etc/prometheus/prometheus.yml
|
||||||
|
ports:
|
||||||
|
- "9090:9090"
|
||||||
volumes:
|
volumes:
|
||||||
|
- ./prometheus.yml:/etc/prometheus/prometheus.yml
|
||||||
|
- prometheus-data:/prometheus
|
||||||
|
networks:
|
||||||
|
- docker_main_net
|
||||||
|
logging:
|
||||||
|
driver: "json-file"
|
||||||
|
options:
|
||||||
|
max-file: 5
|
||||||
|
max-size: 10m
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
prometheus-data:
|
||||||
op-geth-storage:
|
op-geth-storage:
|
||||||
op-node-storage:
|
op-node-storage:
|
||||||
op-secrets:
|
op-secrets:
|
||||||
|
Loading…
Reference in New Issue
Block a user