-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
41 lines (39 loc) · 975 Bytes
/
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
version: '3'
services:
mysql:
image: mysql
volumes:
- ./mysqldata:/var/lib/mysql
command: mysqld --datadir=/var/lib/mysql --slow_query_log=1 --log_output=TABLE --log-queries-not-using-indexes --event-scheduler=ON
environment:
MYSQL_ROOT_PASSWORD:
MYSQL_DATABASE: kolide
MYSQL_USER: kolide
MYSQL_PASSWORD:
ports:
- "3306:3306"
redis:
image: redis
ports:
- "6379:6379"
fleet:
depends_on:
- mysql
- redis
image: kolide/fleet
volumes:
- ./cert:/cert
expose:
- "8080"
ports:
- "8080:8080"
environment:
KOLIDE_MYSQL_ADDRESS: 'mysql:3306'
KOLIDE_MYSQL_DATABASE: kolide
KOLIDE_MYSQL_USERNAME: kolide
KOLIDE_MYSQL_PASSWORD: $MYSQL_PASSWORD
KOLIDE_REDIS_ADDRESS: 'redis:6379'
KOLIDE_SERVER_CERT: /cert/kolide.cert
KOLIDE_SERVER_KEY: /cert/kolide.key
KOLIDE_LOGGING_JSON: 'true'
KOLIDE_AUTH_JWT_KEY: