Skip to content

Commit 9add246

Browse files
author
Jérémy James Toussaint
committed
Updated readme
1 parent b6db1a5 commit 9add246

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

README.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,32 @@
1-
# iexec-worker-new
1+
# iexec-worker-new
2+
3+
### Overview
4+
5+
The iExec-Worker component is in charge of running computing tasks sent by requesters through the iExec Marketplace.
6+
7+
8+
### Run an iexec-worker
9+
10+
11+
#### With Gradle
12+
13+
*Please first update your config located in `./src/main/resources/application.yml`*
14+
15+
* for dev purposes:
16+
17+
```
18+
cd iexec-worker-new
19+
gradle bootRun --refresh-dependencies
20+
```
21+
* or on a remote instance:
22+
```
23+
cd iexec-worker-new
24+
./gradlew bootRun --refresh-dependencies
25+
```
26+
27+
28+
#### With Docker
29+
30+
```
31+
docker run --name my-iexec-worker -v /var/run/docker.sock:/var/run/docker.sock -e IEXEC_CORE_HOST=52.X.X.X -e IEXEC_CORE_PORT=18090 -e IEXEC_WORKER_RESULT_BASE_DIR=/tmp/iexec-worker -e IEXEC_WORKER_NAME=my-iexec-worker -v ~/my-wallet-folder/encrypted-wallet.json:/wallet/encrypted-wallet.json -e IEXEC_WORKER_WALLET_PATH=/wallet/encrypted-wallet.json -e IEXEC_WORKER_WALLET_PASSWORD=mywalletpassword iexechub/iexec-worker:3.0.0-alpha1
32+
```

0 commit comments

Comments
 (0)