Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
docker
Docker Compose Prometheus and Grafana
Commits
f4bb5cf4
Commit
f4bb5cf4
authored
Jul 19, 2020
by
Jay Ta'ala
Browse files
Added (commented out) command overrides which can enable admin commands (for admin REST api).
parent
87accc94
Changes
1
Hide whitespace changes
Inline
Side-by-side
docker-compose.yml
View file @
f4bb5cf4
...
...
@@ -10,6 +10,13 @@ services:
-
storage.tsdb.path=/prometheus
-
web.console.libraries=/usr/share/prometheus/console_libraries
-
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
:
-
./prometheus.yml:/etc/prometheus/prometheus.yml
-
prom-data:/prometheus
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment