generated from holaplex/hub-rust-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
51 lines (47 loc) · 1.12 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
49
50
51
version: "3"
services:
redpanda:
image: redpandadata/redpanda:v23.1.1
command:
- redpanda start
- --smp 1
- --overprovisioned
- --node-id 0
- --kafka-addr PLAINTEXT://0.0.0.0:29092,OUTSIDE://0.0.0.0:9092
- --advertise-kafka-addr PLAINTEXT://redpanda:29092,OUTSIDE://localhost:9092
- --pandaproxy-addr 0.0.0.0:8082
- --advertise-pandaproxy-addr localhost:8082
ports:
- 8081:8081
- 8082:8082
- 9092:9092
- 9644:9644
- 29092:29092
db:
image: postgres:15.2
env_file:
- .env
ports:
- 5437:5432
volumes:
- holaplex_hub_analytics:/var/lib/postgresql/data
cube:
container_name: "cube"
restart: "always"
image: cubejs/cube
ports:
- 4000:4000
environment:
- CUBEJS_API_SECRET=SECRET
- CUBEJS_DEV_MODE=true
- CUBEJS_DATASOURCES=default
- CUBEJS_DB_TYPE=postgres
- CUBEJS_DB_HOST=db
- CUBEJS_DB_USER=postgres
- CUBEJS_DB_NAME=analytics
- CUBEJS_DB_PASS=holaplex
volumes:
- .:/cube/conf
volumes:
holaplex_hub_analytics:
driver: local