-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.e2e.yml
More file actions
39 lines (36 loc) · 1.35 KB
/
Copy pathdocker-compose.e2e.yml
File metadata and controls
39 lines (36 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Disposable Grafana 13.1.1 for the end-to-end canary. Everything here is throwaway: an
# ephemeral named volume (removed by `docker compose down -v`), test-only credentials, and a
# loopback-only high port. NEVER point these tests at a real instance — the canary writes (it
# creates then deletes a folder).
#
# The image tag matches GRAFANA_IMAGE_TAG in mise.toml, so the canary exercises the very build
# the pinned spec was fetched from.
#
# Grafana ships with an embedded SQLite store, so there is no companion database service: the
# whole fixture is this one container.
#
# No compose healthcheck on purpose: readiness is polled from the host against /api/health by
# spec/e2e/support/instance.rb, which needs the answer anyway.
#
# Port 7007: distinct from the openobserve stacks (7005, 7006) and the dolibarr ones
# (7002, 7003) so they can all run locally at once.
name: grafana-api-e2e
services:
grafana:
image: grafana/grafana:13.1.1
environment:
GF_SECURITY_ADMIN_USER: admin
GF_SECURITY_ADMIN_PASSWORD: Complexpass#123
# Nothing here reaches out: no plugin fetch, no update check, no usage reporting.
GF_ANALYTICS_REPORTING_ENABLED: 'false'
GF_ANALYTICS_CHECK_FOR_UPDATES: 'false'
ports:
- '127.0.0.1:7007:3000'
volumes:
- data:/var/lib/grafana
networks:
- e2e
volumes:
data:
networks:
e2e: