hacking, things work
This commit is contained in:
parent
e7dd69f38b
commit
c77da9de1d
@ -47,6 +47,7 @@ services:
|
|||||||
secrets:
|
secrets:
|
||||||
- prometheus_admin_password
|
- prometheus_admin_password
|
||||||
- prometheus_admin_password_hashed
|
- prometheus_admin_password_hashed
|
||||||
|
- swarm_demo_admin_password
|
||||||
volumes:
|
volumes:
|
||||||
- prometheus-data:/prometheus:rw
|
- prometheus-data:/prometheus:rw
|
||||||
configs:
|
configs:
|
||||||
@ -200,3 +201,6 @@ secrets:
|
|||||||
loki_admin_password_hashed:
|
loki_admin_password_hashed:
|
||||||
external: true
|
external: true
|
||||||
name: ${STACK_NAME}_loki_admin_password_hashed_${SECRET_LOKI_ADMIN_PASSWORD_HASHED_VERSION}
|
name: ${STACK_NAME}_loki_admin_password_hashed_${SECRET_LOKI_ADMIN_PASSWORD_HASHED_VERSION}
|
||||||
|
swarm_demo_admin_password:
|
||||||
|
external: true
|
||||||
|
name: ${STACK_NAME}_swarm_demo_admin_password_${SECRET_SWARM_DEMO_ADMIN_PASSWORD_VERSION}
|
||||||
|
3
env
3
env
@ -31,7 +31,7 @@ LOKI_ACCESS_KEY_ID=bush-debrief-approval-robust-scraggly-molecule
|
|||||||
LOKI_BUCKET_NAMES=loki
|
LOKI_BUCKET_NAMES=loki
|
||||||
|
|
||||||
# NOTE(d1): abra.sh env vars, while we deploy things manually
|
# NOTE(d1): abra.sh env vars, while we deploy things manually
|
||||||
PROMETHEUS_YML_VERSION=v6
|
PROMETHEUS_YML_VERSION=v10
|
||||||
PROMTAIL_YML_VERSION=v1
|
PROMTAIL_YML_VERSION=v1
|
||||||
LOKI_YML_VERSION=v2
|
LOKI_YML_VERSION=v2
|
||||||
NODE_EXPORTER_ENTRYPOINT_VERSION=v1
|
NODE_EXPORTER_ENTRYPOINT_VERSION=v1
|
||||||
@ -57,6 +57,7 @@ SECRET_PROMETHEUS_ADMIN_PASSWORD_VERSION=v1
|
|||||||
SECRET_PROMETHEUS_ADMIN_PASSWORD_HASHED_VERSION=v1
|
SECRET_PROMETHEUS_ADMIN_PASSWORD_HASHED_VERSION=v1
|
||||||
SECRET_ALERTMANAGER_SMTP_PASSWORD_VERSION=v1
|
SECRET_ALERTMANAGER_SMTP_PASSWORD_VERSION=v1
|
||||||
SECRET_LOKI_ADMIN_PASSWORD_HASHED_VERSION=v1
|
SECRET_LOKI_ADMIN_PASSWORD_HASHED_VERSION=v1
|
||||||
|
SECRET_SWARM_DEMO_ADMIN_PASSWORD_VERSION=v1
|
||||||
|
|
||||||
ALERTMANAGER_SMTP_FROM=noreply@autonomic.zone
|
ALERTMANAGER_SMTP_FROM=noreply@autonomic.zone
|
||||||
ALERTMANAGER_SMTP_HOST=mail.gandi.net:465
|
ALERTMANAGER_SMTP_HOST=mail.gandi.net:465
|
||||||
|
@ -16,3 +16,21 @@ scrape_configs:
|
|||||||
basic_auth:
|
basic_auth:
|
||||||
username: 'admin'
|
username: 'admin'
|
||||||
password: '{{ secret "prometheus_admin_password" }}'
|
password: '{{ secret "prometheus_admin_password" }}'
|
||||||
|
|
||||||
|
- job_name: 'swarm_demo_node_exporter'
|
||||||
|
metrics_path: '/node_exporter/metrics'
|
||||||
|
static_configs:
|
||||||
|
- targets:
|
||||||
|
- swarm-demo.gather.autonomic.zone
|
||||||
|
basic_auth:
|
||||||
|
username: 'admin'
|
||||||
|
password: '{{ secret "swarm_demo_admin_password" }}'
|
||||||
|
|
||||||
|
- job_name: 'swarm_demo_cadvisor'
|
||||||
|
metrics_path: '/cadvisor/metrics'
|
||||||
|
static_configs:
|
||||||
|
- targets:
|
||||||
|
- swarm-demo.gather.autonomic.zone
|
||||||
|
basic_auth:
|
||||||
|
username: 'admin'
|
||||||
|
password: '{{ secret "swarm_demo_admin_password" }}'
|
||||||
|
Loading…
Reference in New Issue
Block a user