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
|
2021-04-12 23:22:22 +00:00
|
|
|
command: mysqld --datadir=/tmp/mysqldata --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
|
2021-02-02 02:14:16 +00:00
|
|
|
MYSQL_DATABASE: fleet
|
|
|
|
MYSQL_USER: fleet
|
|
|
|
MYSQL_PASSWORD: insecure
|
2017-02-17 17:15:10 +00:00
|
|
|
ports:
|
|
|
|
- "3306:3306"
|
|
|
|
|
|
|
|
mysql_test:
|
2016-11-21 13:59:48 +00:00
|
|
|
image: mysql:5.7
|
2021-04-03 18:42:27 +00:00
|
|
|
# innodb-file-per-table=OFF gives ~20% speedup for test runs.
|
|
|
|
command: mysqld --datadir=/tmpfs --slow_query_log=1 --log_output=TABLE --log-queries-not-using-indexes --event-scheduler=ON --innodb-file-per-table=OFF
|
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:
|
2021-03-08 22:36:10 +00:00
|
|
|
image: redis:5
|
2016-11-15 18:06:33 +00:00
|
|
|
ports:
|
2016-11-21 13:59:48 +00:00
|
|
|
- "6379:6379"
|
2020-07-21 22:36:11 +00:00
|
|
|
|
2021-03-29 20:50:39 +00:00
|
|
|
saml_idp:
|
|
|
|
image: fleetdm/docker-idp:latest
|
|
|
|
environment:
|
|
|
|
SIMPLESAMLPHP_SP_ENTITY_ID: 'https://localhost:8080'
|
|
|
|
SIMPLESAMLPHP_SP_ASSERTION_CONSUMER_SERVICE: 'https://localhost:8080/api/v1/fleet/sso/callback'
|
|
|
|
ports:
|
|
|
|
- "9080:8080"
|
|
|
|
- "9443:8443"
|
|
|
|
|
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
|
|
|
|
2020-11-13 03:06:56 +00:00
|
|
|
prometheus:
|
|
|
|
image: prom/prometheus:latest
|
|
|
|
ports:
|
|
|
|
- "9090:9090"
|
|
|
|
volumes:
|
|
|
|
- ./tools/app/prometheus.yml:/etc/prometheus/prometheus.yml
|
|
|
|
|
2020-10-09 17:10:33 +00:00
|
|
|
volumes:
|
|
|
|
mysql-persistent-volume:
|