Commit f4bb5cf4 authored by Jay Ta'ala's avatar Jay Ta'ala
Browse files

Added (commented out) command overrides which can enable admin commands (for admin REST api).

parent 87accc94
...@@ -10,6 +10,13 @@ services: ...@@ -10,6 +10,13 @@ services:
- storage.tsdb.path=/prometheus - storage.tsdb.path=/prometheus
- web.console.libraries=/usr/share/prometheus/console_libraries - web.console.libraries=/usr/share/prometheus/console_libraries
- web.console.templates=/usr/share/prometheus/consoles - web.console.templates=/usr/share/prometheus/consoles
# # uncomment to override commands and to add enable admin
# command:
# - "--config.file=/etc/prometheus/prometheus.yml"
# - "--storage.tsdb.path=/prometheus"
# - "--web.console.libraries=/usr/share/prometheus/console_libraries"
# - "--web.console.templates=/usr/share/prometheus/consoles"
# - "--web.enable-admin-api"
volumes: volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml - ./prometheus.yml:/etc/prometheus/prometheus.yml
- prom-data:/prometheus - prom-data:/prometheus
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment