added back FRPDocker

This commit is contained in:
2023-01-21 03:53:43 +00:00
parent 67199a35ba
commit b8820ff150
2 changed files with 8 additions and 9 deletions

View File

@@ -1,7 +1,6 @@
package frp
import (
"fmt"
"git.sr.ht/~akilan1999/p2p-rendering-computation/server/docker"
"github.com/fatedier/frp/client"
"github.com/fatedier/frp/pkg/config"
@@ -121,8 +120,8 @@ func StartFRPCDockerContainer(ipaddress string, port string, docker *docker.Dock
return nil, err
}
fmt.Println(portInt)
docker.Ports.PortSet[i].ExternalPort = portInt
PointerDocker := &docker.Ports.PortSet[i]
PointerDocker.ExternalPort = portInt
// Append to array
//clientMappings = append(clientMappings, clientMapping)