-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
88 lines (80 loc) · 1.98 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
version: '3.8'
volumes:
postgres-data:
driver: local
superset-db:
driver: local
services:
redpanda:
image: docker.vectorized.io/vectorized/redpanda:v21.11.15
command:
- redpanda start
- --smp 1
- --reserve-memory 0M
- --overprovisioned
- --node-id 0
- --kafka-addr PLAINTEXT://redpanda:9092
ports:
- "9092:9092"
datareceiverservice:
build:
context: .
dockerfile: DataReceiverService/Dockerfile
ports:
- "8081:8081"
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_HTTP_PORTS=8081
depends_on:
- redpanda
postgres:
image: postgres:latest
volumes:
- postgres-data:/data/postgres
- ./pg_initdb:/docker-entrypoint-initdb.d
environment:
- POSTGRES_DB=analytics_database
- POSTGRES_USER=analytics_rw_user
- POSTGRES_PASSWORD=analytics_rw_user_password
- PGDATA=/data/postgres
ports:
- "5432:5432"
datawriterservice:
build:
context: .
dockerfile: DataWriterService/Dockerfile
ports:
- "8082:8082"
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_HTTP_PORTS=8082
depends_on:
- redpanda
- postgres
superset:
image: apache/superset
ports:
- "8088:8088"
depends_on:
- postgres
- redis
environment:
- REDIS_URL=redis://redis:6379/0
- SUPERSET_SECRET_KEY=unsecure_key_but_it_is_fine_for_testing
volumes:
- superset-db:/home/superset/.superset
redis:
image: redis:latest
ports:
- "6379:6379"
superset-worker:
image: apache/superset
command: superset worker
depends_on:
- superset
- redis
environment:
- SUPERSET_DB_URI=postgresql+psycopg2://analytics_rw_user:analytics_rw_user_password@postgres:5432/analytics_database
- REDIS_URL=redis://redis:6379/0
volumes:
- superset-db:/home/superset/.superset