Closed amrosdevops closed 2 years ago
I think new docker-compose file from #18 should help. Make sure that you have both jq
and expect
installed in your WSL.
$ docker-compose -f docker-compose.cross.yml up -d
[+] Running 6/6
⠿ Network neofs-aio_default Created 0.8s
⠿ Container morph Healthy 4.2s
⠿ Container ir Healthy 7.8s
⠿ Container sn Started 9.3s
⠿ Container http_gw Started 10.6s
⠿ Container nginx_gw Started 11.9s
$ make prepare.ir
Changing ContainerFee configration value to 0
Enter account NfgHwwTi3wHAS8aFAN243C5vGbkYDpqLHP password >
Network fee: 0.0120558
System fee: 0.0966192
Total fee: 0.108675
Relay transaction (y|N)> y
Sent invocation transaction ae8cd3f250219ebb47f1599cd543e92ecde03de9ac3089597ed0b626d9ec2820
Updating NeoFS epoch to 1
Enter account NfgHwwTi3wHAS8aFAN243C5vGbkYDpqLHP password >
Network fee: 0.0118458
System fee: 0.7625779
Total fee: 0.7744237
Relay transaction (y|N)> y
Sent invocation transaction 66b0466895b0c33ef13096234f6f51944cbeac6fc6ba2bf46ad14241304bf1e6
$ ./neofs-cli-amd64 -r localhost:8080 -w http/node-wallet.json container create --policy "REP 1" --basic-acl public-read --await
Enter password >
container ID: 7Ghmdpxedz7AiwZ4ncvQfm6uoBxb8zE6acsnfz4k8iSh
awaiting...
container has been persisted on sidechain
$ curl -F 'file=@cat.png;filename=cat.png' http://localhost:8081/upload/7Ghmdpxedz7AiwZ4ncvQfm6uoBxb8zE6acsnfz4k8iSh
{
"object_id": "E6HBMZwacgf9U5PNfuKoiF31qhdU8fv41DJmDjBGzDBF",
"container_id": "7Ghmdpxedz7AiwZ4ncvQfm6uoBxb8zE6acsnfz4k8iSh"
}
@amrosdevops If you have any issues after #18, reopen please. It should work fine right now on Windows with WSL2.
I have a problem to get result of this resolver request , all docker images are up and running from wındows wsl
I don't get any result the problem is when I run
make prepare.ir
it reach to resolver and throw errorparse error: Invalid numeric literal at line 1, column 10