# 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. # 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 - DELUGE_LOG_LEVEL=${DELUGE_LOG_LEVEL:-info} - DELUGE_NODE_ID=deluge-1 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 - DELUGE_LOG_LEVEL=${DELUGE_LOG_LEVEL:-info} - DELUGE_NODE_ID=deluge-2 volumes: - ./volume/deluge-2:/var/lib/deluge - ./volume/deluge-2/downloads:/var/lib/deluge/downloads ports: - "6893:6893" - "6894-6895:6894-6895" deluge-3: image: codexstorage/deluge container_name: deluge-3 environment: - DELUGE_RPC_PORT=6896 - DELUGE_LISTEN_PORTS=6897,6898 - DELUGE_LOG_LEVEL=${DELUGE_LOG_LEVEL:-info} - DELUGE_NODE_ID=deluge-3 volumes: - ./volume/deluge-3:/var/lib/deluge - ./volume/deluge-3/downloads:/var/lib/deluge/downloads ports: - "6896:6896" - "6897-6898:6897-6898" tracker: image: codexstorage/bittorrent-tracker container_name: tracker ports: - "8000:8000"