Commit 9d9b1ade authored by Stefano Alberto Russo's avatar Stefano Alberto Russo
Browse files

Increased default available tunnel ports form 5 to 20.

parent 58079501
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ services:
      #- DJANGO_PUBLIC_HTTP_HOST=http://localhost:8080
    ports:
      - "8080:8080"
      - "7000-7005:7000-7005"
      - "7000-7020:7000-7020"
    volumes:
      - ./data_rosetta/webapp/data:/data
      - ./data_rosetta/webapp/log:/var/log/webapp
+1 −1
Original line number Diff line number Diff line
@@ -507,7 +507,7 @@ def setup_tunnel(task):
            if other_task.tunnel_port and not other_task.status in [TaskStatuses.exited, TaskStatuses.stopped]:
                allocated_tunnel_ports.append(other_task.tunnel_port)

        for port in range(7000, 7006):
        for port in range(7000, 7021):
            if not port in allocated_tunnel_ports:
                tunnel_port = port
                break