-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
50 lines (48 loc) · 1.47 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
50 lines (48 loc) · 1.47 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
40
41
42
43
44
45
46
47
48
49
50
services:
grafana:
extends:
file: .config/docker-compose-base.yaml
service: grafana
container_name: 'grafana-itself'
build:
args:
grafana_version: ${GRAFANA_VERSION:-main}
grafana_image: ${GRAFANA_IMAGE:-grafana}
environment:
GF_DASHBOARDS_DEFAULT_HOME_DASHBOARD_PATH: /etc/grafana/provisioning/dashboards/cubeds-ecom-full-data-model.json
GF_FEATURE_TOGGLES_ENABLE: 'tableNextGen,queryLibrary,sqlExpressions,dashboardDsAdHocFiltering,adhocFiltersInTooltips,enableDashboardMigration'
depends_on:
- cube
cube:
image: cubejs/cube:latest@sha256:43412ba25aa9a74a1c538905c1ef6765c6d83635b7a00e3a3f5cca0dca540926
ports:
- 4000:4000
- 15432:15432
volumes:
- ./dev-environment/cube:/cube/conf
depends_on:
- postgres
postgres:
image: postgres:18@sha256:78481659c47e862334611ccdaf7c369c986b3046da9857112f3b309114a65fb4
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: password
POSTGRES_DB: jaffle_shop
ports:
- '5432:5432'
volumes:
- ./dev-environment/data/seeds/:/data/seeds/
- ./dev-environment/data/migrations/init.sql:/docker-entrypoint-initdb.d/init.sql
# Enable SQL queries in the logs (minimal output)
command:
[
'postgres',
'-c',
'log_statement=all',
'-c',
'log_line_prefix=',
'-c',
'log_duration=off',
'-c',
'log_parameter_max_length=0',
]