-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.yaml
58 lines (54 loc) · 1.5 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
52
53
54
55
56
57
58
version: '3.7'
services:
valkey:
image: valkey/valkey:8
environment:
- ALLOW_EMPTY_PASSWORD=yes
ports:
- "6379:6379"
volumes:
- valkey_data:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
timeout: 3s
retries: 5
demo_app_dataset:
image: dbazhenov/demo_app_dataset:0.2.0
depends_on:
valkey:
condition: service_healthy
environment:
- VALKEY_ADDR=valkey
- VALKEY_PORT=6379
- DATASET_LOAD_TYPE=csv # github or csv
- DATASET_DEMO_CSV_PULLS=data/csv/pulls.csv # https://github.com/dbazhenov/github-stat/raw/refs/heads/main/data/csv/pulls.csv.zip
- DATASET_DEMO_CSV_REPOS=data/csv/repositories.csv # https://github.com/dbazhenov/github-stat/raw/refs/heads/main/data/csv/repositories.csv.zip
- GITHUB_ORG=percona # required for github load type
- GITHUB_TOKEN= # required for github load type
- DELAY_MINUTES=10
- DEBUG=false
demo_app_web:
image: dbazhenov/demo_app_web:0.2.0
depends_on:
valkey:
condition: service_healthy
environment:
- VALKEY_ADDR=valkey
- VALKEY_PORT=6379
- CONTROL_PANEL_PORT=3000
ports:
- "3000:3000"
demo_app_load:
image: dbazhenov/demo_app_load:0.2.0
depends_on:
valkey:
condition: service_healthy
environment:
- VALKEY_ADDR=valkey
- VALKEY_PORT=6379
- LOAD_MYSQL=true
- LOAD_POSTGRES=true
- LOAD_MONGODB=true
volumes:
valkey_data: