forked from qmk/qmk_api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
54 lines (48 loc) · 1.37 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
version: '3'
# This file should live in a directory about `qmk_api` and `qmk_compiler`
# Eventually we would have some sort of git subdir or something to contain
# this... For now, just cp (or symlink) it up a dir or something.
services:
qmk_api:
build: ./qmk_api
ports:
- "5000:5000"
environment:
REDIS_HOST: redis
S3_HOST: http://minio:9000
S3_ACCESS_KEY: minio_dev
S3_SECRET_KEY: minio_dev_secret
UPDATE_API: 'true'
qmk_compiler:
build: ./qmk_compiler
environment:
MINIO_ACCESS_KEY: minio_dev
MINIO_SECRET_KEY: minio_dev_secret
REDIS_HOST: redis
S3_HOST: http://minio:9000
minio:
image: minio/minio:RELEASE.2018-09-25T21-34-43Z
volumes:
- data:/data
ports:
- "9000:9000"
environment:
MINIO_ACCESS_KEY: minio_dev
MINIO_SECRET_KEY: minio_dev_secret
S3_ACCESS_KEY: minio_dev
S3_SECRET_KEY: minio_dev_secret
command: server minio_data
restart: always
redis:
image: redis:4.0
# For some reason this doesn't seem to work... I still get:
# `# Warning: no config file specified, using the default config.`
#volumes:
# ./redis contains a redis.conf file, /usr/local/etc/redis/
# is supposedly where redis looks for its conf
# - ./redis/:/usr/local/etc/redis/
ports:
- "6379:6379"
restart: always
volumes:
data: