-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
73 lines (68 loc) · 1.61 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
version: "3.4"
services:
web:
image: farfetchoss/maestro:beta-7db33f1
container_name: maestroweb
environment:
MAESTRO_PORT: 5000
LOG_LEVEL: INFO
SCHEDULER_ENABLED: "True"
GUNICORN_WORKERS: 4
GUNICORN_THREADS: 16
MONGODB_HOST: maestromongodb
ports:
- 5000:5000
networks:
- default
depends_on:
mongodb:
condition: service_healthy
healthcheck:
test:
- "CMD-SHELL"
- 'curl http://maestroweb:5000'
interval: 2s
timeout: 5s
retries: 10
agent:
image: farfetchoss/maestro-agent:beta-7db33f1
container_name: maestroagent
restart: always
environment:
MAESTRO_API_HOST: http://maestroweb:5000
JMETER_IMAGE_BASE_REPO: farfetchoss/maestro-jmeter
JMETER_IMAGE_BASE_VERSION: 0.5.0
JMETER_CONTAINER_NAME: maestrojmeter
AGENT_HOST: agent.maestro.net
HOST_MOUNT_DIR: $HOME/.maestro/jmeter
volumes:
- type: bind
source: /var/run/docker.sock
target: /var/run/docker.sock
- type: bind
source: $HOME/.maestro/jmeter
target: $HOME/.maestro/jmeter
networks:
- default
depends_on:
web:
condition: service_healthy
mongodb:
image: mongo:4.4
container_name: maestromongodb
volumes:
- mongodata:/data/db
restart: always
networks:
- default
healthcheck:
test:
- "CMD-SHELL"
- mongo --eval 'db.runCommand("ping").ok' localhost:27017 --quiet
interval: 2s
timeout: 5s
retries: 10
volumes:
mongodata: null
networks:
default: null