-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
48 lines (45 loc) · 1.39 KB
/
docker-compose.yaml
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
40
41
42
43
44
45
46
47
48
version: '3.0'
services:
grafana:
container_name: "gfs" # Grafana Service
platform: 'linux/amd64'
build:
context: ./.config
args:
grafana_image: ${GRAFANA_IMAGE:-grafana-oss} # https://hub.docker.com/r/grafana/grafana-oss/tags
grafana_version: ${GRAFANA_VERSION:-10.0.3}
ports:
- 3000:3000/tcp
volumes:
- ./dist:/var/lib/grafana/plugins/fiskaly-surrealdb-datasource
- ./etc/provisioning:/etc/grafana/provisioning
environment:
GF_DASHBOARDS_DEFAULT_HOME_DASHBOARD_PATH: "/etc/grafana/provisioning/dashboards/Default/default.json"
surrealdb:
container_name: "sdb" # SurrealDB
image: surrealdb/surrealdb:v1.1.1 # https://hub.docker.com/r/surrealdb/surrealdb/tags
restart: unless-stopped
ports:
- "8000:8000"
volumes:
- ./.attic/surrealdb:/surreal.db
command: |
start
--auth
--log trace
--user root
--pass root
file://surreal.db
hurl:
container_name: "hdp" # Hurl-based Provisioning
image: ghcr.io/orange-opensource/hurl:4.2.0 # https://github.com/Orange-OpenSource/hurl/pkgs/container/hurl
depends_on:
grafana:
condition: service_started
surrealdb:
condition: service_started
volumes:
- ./etc/provisioning.hurl:/provisioning.hurl
command: |
--variable SERVICE=http://surrealdb:8000
/provisioning.hurl