bittorrent-benchmarks/docker-compose.local.yaml

55 lines
1.6 KiB
YAML
Raw Normal View History

2024-12-04 19:04:57 -03:00
# This compose spec contains the basic setup for running integration tests with the
# test runner outside of a container and bind mounts for data so they can be inspected.
# This is ideal for development.
2024-11-01 18:07:08 -03:00
# You will need [rootless Docker](https://docs.docker.com/engine/security/rootless/)
# for this to work cause the tests rely on user-writable bind mounts.
services:
deluge-1:
image: codexstorage/deluge
container_name: deluge-1
environment:
- DELUGE_RPC_PORT=6890
- DELUGE_LISTEN_PORTS=6891,6892
2024-12-05 09:47:41 -03:00
- DELUGE_LOG_LEVEL=${DELUGE_LOG_LEVEL:-info}
2024-11-01 18:07:08 -03:00
volumes:
- ./volume/deluge-1:/var/lib/deluge
- ./volume/deluge-1/downloads:/var/lib/deluge/downloads
ports:
- "6890:6890"
- "6891-6892:6891-6892"
deluge-2:
image: codexstorage/deluge
container_name: deluge-2
environment:
- DELUGE_RPC_PORT=6893
- DELUGE_LISTEN_PORTS=6894,6895
2024-12-05 09:47:41 -03:00
- DELUGE_LOG_LEVEL=${DELUGE_LOG_LEVEL:-info}
2024-11-01 18:07:08 -03:00
volumes:
- ./volume/deluge-2:/var/lib/deluge
- ./volume/deluge-2/downloads:/var/lib/deluge/downloads
ports:
- "6893:6893"
- "6894-6895:6894-6895"
2024-11-03 08:39:33 -03:00
deluge-3:
image: codexstorage/deluge
container_name: deluge-3
environment:
- DELUGE_RPC_PORT=6896
- DELUGE_LISTEN_PORTS=6897,6898
2024-12-05 09:47:41 -03:00
- DELUGE_LOG_LEVEL=${DELUGE_LOG_LEVEL:-info}
2024-11-03 08:39:33 -03:00
volumes:
- ./volume/deluge-3:/var/lib/deluge
- ./volume/deluge-3/downloads:/var/lib/deluge/downloads
ports:
- "6896:6896"
- "6897-6898:6897-6898"
2024-11-01 18:07:08 -03:00
tracker:
image: codexstorage/bittorrent-tracker
container_name: tracker
ports:
- "8000:8000"