Skip to content

Commit

Permalink
log local testnet gateway logs to
Browse files Browse the repository at this point in the history
  • Loading branch information
zkokelj committed Oct 30, 2024
1 parent 8e5e572 commit f914299
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 59 deletions.
12 changes: 6 additions & 6 deletions testnet/docker-compose.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ services:
dockerfile: ./dockerfiles/enclave.Dockerfile
args:
TESTMODE: true
# enclave-debug:
# image: "testnetobscuronet.azurecr.io/obscuronet/enclave_debug:latest"
# build:
# context: $ROOT_PATH
# dockerfile: ./dockerfiles/enclave.debug.Dockerfile
# enclave-debug:
# image: "testnetobscuronet.azurecr.io/obscuronet/enclave_debug:latest"
# build:
# context: $ROOT_PATH
# dockerfile: ./dockerfiles/enclave.debug.Dockerfile
ten-scan:
image: "testnetobscuronet.azurecr.io/obscuronet/tenscan:latest"
build:
Expand All @@ -38,7 +38,7 @@ services:
image: "testnetobscuronet.azurecr.io/obscuronet/obscuro_gateway:latest"
build:
context: $ROOT_PATH
dockerfile: ./tools/walletextension/Dockerfile
dockerfile: ./tools/walletextension/enclave.Dockerfile
faucet:
image: "testnetobscuronet.azurecr.io/obscuronet/faucet:latest"
build:
Expand Down
2 changes: 1 addition & 1 deletion testnet/launcher/gateway/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func (n *DockerGateway) Start() error {
fmt.Printf("Starting gateway with config: \n%s\n\n", litter.Sdump(*n.cfg))

cmds := []string{
"/home/obscuro/go-obscuro/tools/walletextension/bin/wallet_extension_linux",
"ego", "run", "/home/ten/go-ten/tools/walletextension/main/main",
"--host", "0.0.0.0",
"--port", fmt.Sprintf("%d", n.cfg.gatewayHTTPPort),
"--portWS", fmt.Sprintf("%d", n.cfg.gatewayWSPort),
Expand Down
2 changes: 1 addition & 1 deletion testnet/testnet-local-build_images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ command docker build -t testnetobscuronet.azurecr.io/obscuronet/enclave:latest -
#command docker build -t testnetobscuronet.azurecr.io/obscuronet/enclave_debug:latest -f "${root_path}/dockerfiles/enclave.debug.Dockerfile" "${root_path}" &
command docker build -t testnetobscuronet.azurecr.io/obscuronet/tenscan:latest -f "${tools_path}/tenscan/Dockerfile" "${root_path}" &
command docker build -t testnetobscuronet.azurecr.io/obscuronet/faucet:latest -f "${tools_path}/faucet/Dockerfile" "${root_path}" &
command docker build -t testnetobscuronet.azurecr.io/obscuronet/obscuro_gateway:latest -f "${tools_path}/walletextension/Dockerfile" "${root_path}" &
#command docker build -t testnetobscuronet.azurecr.io/obscuronet/obscuro_gateway:latest -f "${tools_path}/walletextension/enclave.Dockerfile" "${root_path}" &

wait

51 changes: 0 additions & 51 deletions tools/walletextension/Dockerfile

This file was deleted.

0 comments on commit f914299

Please sign in to comment.