File tree Expand file tree Collapse file tree 3 files changed +36
-5
lines changed
Expand file tree Collapse file tree 3 files changed +36
-5
lines changed Original file line number Diff line number Diff line change 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+ ```
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ apply plugin: 'maven'
2121apply plugin : ' jacoco'
2222
2323group = ' com.iexec.worker'
24- version = ' 0.0.1-SNAPSHOT'
2524sourceCompatibility = 1.8
2625
2726def UNIQUE_ID = ' hostname -f' . execute(). text. trim()
@@ -149,4 +148,4 @@ task pushImage(type: Exec) {
149148}
150149
151150pushImage. dependsOn buildImage
152- pushImage. enabled = isMasterBranch && project. hasProperty(" dockerHubUser" ) && project. hasProperty(" dockerHubPassword" )
151+ pushImage. enabled = isMasterBranch && project. hasProperty(" dockerHubUser" ) && project. hasProperty(" dockerHubPassword" )
Original file line number Diff line number Diff line change 1- iexecCommonVersion =0.0.1-SNAPSHOT
2- packageCloudPassword =fake
1+ iexecCommonVersion =3.0.0-alpha1
2+ packageCloudPassword =fake
3+ version =3.0.0-alpha1
You can’t perform that action at this time.
0 commit comments