-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.scaled.yml
More file actions
34 lines (32 loc) · 1 KB
/
Copy pathdocker-compose.scaled.yml
File metadata and controls
34 lines (32 loc) · 1 KB
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
services:
mitm-coordinator:
image: ghcr.io/ygrip/mitmproxy-grid:${MITMPROXY_GRID_VERSION:-2.1.0}
environment:
GRID_MODE: coordinator
INSTANCE_TTL: ${INSTANCE_TTL:-1800}
WORKER_REGISTER_INTERVAL: ${WORKER_REGISTER_INTERVAL:-5}
WORKER_STALE_AFTER: ${WORKER_STALE_AFTER:-20}
ports:
- "${MITMPROXY_GRID_API_PORT:-8090}:8090"
networks:
- automation
restart: unless-stopped
mitm-worker:
image: ghcr.io/ygrip/mitmproxy-grid:${MITMPROXY_GRID_VERSION:-2.1.0}
environment:
GRID_MODE: worker
COORDINATOR_URL: http://mitm-coordinator:8090
PORT_START: ${PORT_START:-10000}
PORT_END: ${PORT_END:-10009}
INSTANCE_TTL: ${INSTANCE_TTL:-1800}
MAX_BODY_SIZE: ${MAX_BODY_SIZE:-52428800}
WORKER_REGISTER_INTERVAL: ${WORKER_REGISTER_INTERVAL:-5}
depends_on:
- mitm-coordinator
networks:
- automation
restart: unless-stopped
networks:
automation:
name: ${AUTOMATION_NETWORK:-selenium-grid}
external: true