-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose-kolide.yml
66 lines (61 loc) · 1.3 KB
/
docker-compose-kolide.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
version: '2.2'
services:
nginx:
build:
context: .
dockerfile: docker/kolide/Dockefile-nginx
args:
NGINX_VERSION: ${NGINX_VERSION}
container_name: kolide-nginx
restart: unless-stopped
ports:
- 8000:80
- 8443:443
networks:
- default
- kolide-backend
depends_on:
- kolide
kolide:
build:
context: .
dockerfile: docker/kolide/Dockerfile-kolide
args:
KOLIDE_FLEET_VERSION: ${KOLIDE_FLEET_VERSION}
container_name: kolide-webgui
restart: unless-stopped
volumes:
- kolide-logs:/var/log/osquery
networks:
- kolide-backend
depends_on:
- mysql
- redis
mysql:
build:
context: .
dockerfile: docker/kolide/Dockerfile-mysql
args:
MYSQL_VERSION: ${MYSQL_VERSION}
container_name: kolide-mysql
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: kolide
MYSQL_DATABASE: kolide
MYSQL_USER: kolide
MYSQL_PASSWORD: kolide
volumes:
- kolide-db:/var/lib/mysql
networks:
- kolide-backend
redis:
image: redis:latest
container_name: kolide-redis
restart: unless-stopped
networks:
- kolide-backend
volumes:
kolide-db:
kolide-logs:
networks:
kolide-backend: