-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
101 lines (94 loc) · 2.2 KB
/
docker-compose.yml
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
version: "3.7"
services:
##
## CloudBeaver
##
# cloudbeaver:
# image: dbeaver/cloudbeaver:latest
# ports:
# - "8978:8978"
# depends_on:
# - boilingdata_http_gw
# - buenavista
##
## Apache Superset
##
## Starting guide:
## 1. docker exec -it superset superset fab create-admin --username admin --firstname Superset --lastname Admin --email [email protected] --password admin
## 2. docker exec -it superset superset db upgrade
## (3. docker exec -it superset superset load_examples)
## 4. docker exec -it superset superset init
# superset:
# container_name: superset
# image: apache/superset
# ports:
# - 8080:8088
# environment:
# - SUPERSET_SECRET_KEY=your_secret_key_here
# volumes:
# - superset_home:/app/superset_home
##
## Cube
##
# cube:
# image: cubejs/cube:latest
# container_name: cube
# ports:
# - 4000:4000
# - 15432:15432
# environment:
# - CUBEJS_DEV_MODE=true
# - CUBEJS_DB_TYPE=prestodb
# - CUBEJS_DB_HOST=buenavista
# - CUBEJS_DB_PORT=5433
# - CUBEJS_DB_USER=me
# - CUBEJS_DB_SSL=false
# - CUBEJS_DB_PRESTO_CATALOG=boilingdata
# volumes:
# - .:/cube/conf
# depends_on:
# - boilingdata_http_gw
# - buenavista
##
## Metabase
##
metabase:
image: metabase/metabase
container_name: metabase
ports:
- "3000:3000"
depends_on:
- boilingdata_http_gw
- buenavista
boilingdata_http_gw:
build: .
image: boilingdata_http_gw
ports:
- "3100:3100"
environment:
- BD_USERNAME=${BD_USERNAME}
- BD_PASSWORD=${BD_PASSWORD}
- DEBUG=${DEBUG}
volumes:
- ./src/static:/src/src/static:ro
# healthcheck:
# test: ["CMD", "curl", "-v", "http://localhost:3000/healthcheck"]
# interval: 10s
# timeout: 2s
# retries: 10
# start_period: 5s
buenavista:
image: buenavista
container_name: buenavista
ports:
- "5433:5433"
environment:
- BUENAVISTA_HOST=0.0.0.0
- BUENAVISTA_PORT=5433
depends_on:
- boilingdata_http_gw
volumes:
redis:
external: false
superset_home:
external: false