-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
docker-compose.yml
123 lines (114 loc) · 3 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
services:
qmk_api:
build: ./qmk_api
ports:
- "5001:5001"
environment:
PYTHONUNBUFFERED: 1
API_URL: http://qmk_api:5001/
#QMK_GIT_URL: https://github.com/qmk/qmk_firmware.git
#QMK_GIT_BRANCH: master
FLASK_GRAPHITE_HOST: qmk_metrics_aggregator
REDIS_HOST: redis
RELOAD: 1
S3_HOST: http://minio:9000
S3_ACCESS_KEY: minio_dev
S3_SECRET_KEY: minio_dev_secret
UPDATE_API: 'true'
volumes:
- ./qmk_api:/qmk_api
- ./qmk_compiler:/qmk_compiler
qmk_api_tasks:
build: ./qmk_api_tasks
command: /bin/true
ports:
- "5002:5000"
environment:
PYTHONUNBUFFERED: 1
API_URL: http://qmk_api:5001/
#DISCORD_WEBHOOK_URL: <Your private webhook URL>
MSG_ON_GOOD_COMPILE: "no"
MSG_ON_BAD_COMPILE: "no"
MSG_ON_S3_SUCCESS: "no"
REDIS_HOST: redis
RELOAD: 1
S3_HOST: http://minio:9000
S3_ACCESS_KEY: minio_dev
S3_SECRET_KEY: minio_dev_secret
UPDATE_API: 'true'
volumes:
- ./qmk_api_tasks:/qmk_api_tasks
- ./qmk_compiler:/qmk_compiler
qmk_bot:
build: ./qmk_bot
environment:
#DISCORD_WEBHOOK_URL: <Your private webhook URL>
PYTHONUNBUFFERED: 1
API_URL: http://qmk_api:5001/
REDIS_HOST: redis
RELOAD: 1
S3_HOST: http://minio:9000
volumes:
- ./qmk_bot:/qmk_bot
- ./qmk_compiler:/qmk_compiler
qmk_compiler:
build: ./qmk_compiler
environment:
GRAPHITE_HOST: qmk_metrics_aggregator
MINIO_ACCESS_KEY: minio_dev
MINIO_SECRET_KEY: minio_dev_secret
PYTHONUNBUFFERED: 1
API_URL: http://qmk_api:5001/
LOG_LEVEL: DEBUG
#QMK_GIT_URL: https://github.com/qmk/qmk_firmware.git
#QMK_GIT_BRANCH: master
REDIS_HOST: redis
RELOAD: 1
S3_HOST: http://minio:9000
volumes:
- ./qmk_compiler:/qmk_compiler
qmk_metrics_aggregator:
build: ./qmk_metrics_aggregator
environment:
PYTHONUNBUFFERED: 1
METRIC_TTL: 600
GRAPHITE_HOST: graphite
GRAPHITE_RESOLUTION: 60
volumes:
- ./qmk_metrics_aggregator/qmk_metrics_aggregator:/qmk_metrics_aggregator
qmk_configurator:
build: ./qmk_configurator
ports:
- "5000:80"
environment:
QMK_API_URL: http://qmk_api:5001
# To use this you need to have built it locally, IE qmk_configurator/dist needs to exist.
#volumes:
# - ./qmk_configurator:/qmk_configurator
minio:
image: minio/minio
volumes:
- minio_data:/data
ports:
- "9000:9000"
- "9001:9001"
environment:
MINIO_ROOT_USER: minio_dev
MINIO_ROOT_PASSWORD: minio_dev_secret
PYTHONUNBUFFERED: 1
S3_ACCESS_KEY: minio_dev
S3_SECRET_KEY: minio_dev_secret
command: server /data --console-address :9001
restart: always
redis:
image: ghcr.io/qmk/qmk_api_redis
ports:
- "6379:6379"
restart: always
graphite:
image: ghcr.io/qmk/qmk_graphite
ports:
- "5003:80"
restart: always
volumes:
minio_data: