2024-12-04 19:04:57 -03:00
|
|
|
# Runs the whole test suite, with the test runner inside a container. This is ideal for CI.
|
2024-12-03 19:33:43 -03:00
|
|
|
services:
|
|
|
|
test-runner:
|
|
|
|
image: bittorrent-benchmarks:test
|
|
|
|
container_name: test-runner
|
2025-01-19 10:32:27 -03:00
|
|
|
entrypoint: [ "poetry", "run", "pytest", "--exitfirst" ]
|
|
|
|
environment:
|
|
|
|
- DELUGE_NODE_1=deluge-1
|
|
|
|
- DELUGE_NODE_2=deluge-2
|
|
|
|
- DELUGE_NODE_3=deluge-3
|
|
|
|
- DELUGE_AGENT_1=http://agent-1:9001/
|
|
|
|
- DELUGE_AGENT_2=http://agent-2:9002/
|
|
|
|
- DELUGE_AGENT_3=http://agent-3:9003/
|
|
|
|
- TRACKER_ANNOUNCE_URL=http://tracker:8000/announce
|
2025-01-21 17:57:17 -03:00
|
|
|
- ELASTICSEARCH_URL=http://elasticsearch:9200/
|
2024-12-04 19:04:57 -03:00
|
|
|
depends_on:
|
2025-01-19 10:32:27 -03:00
|
|
|
clean-volumes:
|
2024-12-04 19:04:57 -03:00
|
|
|
condition: service_healthy
|