Skip to content

Commit

Permalink
chore: add back auth
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Phelps <209477+markphelps@users.noreply.github.com>
  • Loading branch information
markphelps committed Nov 27, 2024
1 parent 2580c14 commit 28ee67b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/analytics/prometheus/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ services:
- "9090:9090"
command:
- --config.file=/etc/prometheus/prometheus.yml
# - --web.config.file=/etc/prometheus/web-config.yml
- --web.config.file=/etc/prometheus/web-config.yml
flipt:
image: flipt/flipt:latest
volumes:
Expand All @@ -26,7 +26,7 @@ services:
- FLIPT_LOG_LEVEL=info
- FLIPT_ANALYTICS_STORAGE_PROMETHEUS_ENABLED=true
- FLIPT_ANALYTICS_STORAGE_PROMETHEUS_URL=http://prometheus:9090
# - PROMETHEUS_AUTH_TOKEN='Basic YWRtaW46dGVzdA=='
- PROMETHEUS_AUTH_TOKEN=Basic YWRtaW46dGVzdA==
- FLIPT_META_TELEMETRY_ENABLED=false
command: ["/flipt", "--force-migrate"]

Expand Down
4 changes: 2 additions & 2 deletions examples/analytics/prometheus/flipt-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ analytics:
prometheus:
enabled: true
url: http://prometheus:9090
# headers:
# Authorization: ${PROMETHEUS_AUTH_TOKEN}
headers:
Authorization: ${PROMETHEUS_AUTH_TOKEN}

0 comments on commit 28ee67b

Please sign in to comment.