2020-10-09 17:10:33 +00:00
|
|
|
---
|
2016-11-15 18:06:33 +00:00
|
|
|
version: '2'
|
|
|
|
services:
|
|
|
|
mysql:
|
2017-02-17 17:15:10 +00:00
|
|
|
image: mysql:5.7
|
|
|
|
volumes:
|
2020-10-09 17:10:33 +00:00
|
|
|
- mysql-persistent-volume:/tmp
|
2019-10-16 23:35:17 +00:00
|
|
|
command: mysqld --datadir=/tmp/mysqldata --slow_query_log=1 --log_output=TABLE --log-queries-not-using-indexes --event-scheduler=ON
|
2020-10-09 17:10:33 +00:00
|
|
|
environment: &mysql-default-environment
|
2017-02-17 17:15:10 +00:00
|
|
|
MYSQL_ROOT_PASSWORD: toor
|
|
|
|
MYSQL_DATABASE: kolide
|
|
|
|
MYSQL_USER: kolide
|
|
|
|
MYSQL_PASSWORD: kolide
|
|
|
|
ports:
|
|
|
|
- "3306:3306"
|
|
|
|
|
|
|
|
mysql_test:
|
2016-11-21 13:59:48 +00:00
|
|
|
image: mysql:5.7
|
2019-10-16 23:35:17 +00:00
|
|
|
command: mysqld --datadir=/tmpfs --slow_query_log=1 --log_output=TABLE --log-queries-not-using-indexes --event-scheduler=ON
|
2016-11-15 18:06:33 +00:00
|
|
|
tmpfs: /tmpfs
|
2020-10-09 17:10:33 +00:00
|
|
|
environment: *mysql-default-environment
|
2016-11-15 18:06:33 +00:00
|
|
|
ports:
|
2017-02-17 17:15:10 +00:00
|
|
|
- "3307:3306"
|
2016-09-21 12:22:53 +00:00
|
|
|
|
2016-11-15 18:06:33 +00:00
|
|
|
mailhog:
|
|
|
|
image: mailhog/mailhog:latest
|
|
|
|
ports:
|
|
|
|
- "8025:8025"
|
|
|
|
- "1025:1025"
|
2016-10-31 22:51:19 +00:00
|
|
|
|
2016-11-15 18:06:33 +00:00
|
|
|
redis:
|
|
|
|
image: redis:3.2.4
|
|
|
|
ports:
|
2016-11-21 13:59:48 +00:00
|
|
|
- "6379:6379"
|
2020-07-21 22:36:11 +00:00
|
|
|
|
|
|
|
# CAdvisor container allows monitoring other containers. Useful for
|
|
|
|
# development.
|
|
|
|
cadvisor:
|
|
|
|
image: google/cadvisor:latest
|
|
|
|
ports:
|
|
|
|
- "5678:8080"
|
|
|
|
volumes:
|
|
|
|
- /:/rootfs:ro
|
|
|
|
- /var/run:/var/run:rw
|
|
|
|
- /sys:/sys:ro
|
|
|
|
- /var/lib/docker/:/var/lib/docker:ro
|
2020-10-09 17:10:33 +00:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
mysql-persistent-volume:
|