|
1 | 1 | services: |
2 | 2 | bellecour-fork: |
3 | 3 | restart: 'no' |
4 | | - image: ghcr.io/foundry-rs/foundry:latest |
5 | | - platform: linux/amd64 |
| 4 | + image: ghcr.io/foundry-rs/foundry:v1.0.0 |
6 | 5 | entrypoint: anvil |
7 | 6 | command: '--host 0.0.0.0 --port 8545 --block-time 1 --hardfork berlin --fork-url $BELLECOUR_FORK_URL --fork-block-number $BELLECOUR_FORK_BLOCK --chain-id 134 --gas-limit 6700000 --gas-price 0' |
8 | 7 | expose: |
9 | 8 | - 8545 |
10 | 9 | ports: |
11 | 10 | - 8545:8545 |
12 | 11 | healthcheck: |
13 | | - test: wget http://0.0.0.0:8545/ -q --post-data "{\"jsonrpc\":\"2.0\",\"method\":\"eth_chainId\",\"params\":[],\"id\":1}" |
| 12 | + # check port 8545 is open without nc |
| 13 | + test: (echo >/dev/tcp/$(hostname)/8545) &>/dev/null |
14 | 14 | interval: 10s |
15 | 15 | timeout: 5s |
16 | 16 | retries: 3 |
17 | 17 | start_period: 30s |
18 | 18 |
|
19 | 19 | sms: |
20 | | - image: iexechub/iexec-sms:7.1.0 |
| 20 | + image: iexechub/iexec-sms:8.7.0 |
21 | 21 | restart: unless-stopped |
22 | 22 | environment: |
23 | | - TZ: Europe/Paris |
| 23 | + JAVA_TOOL_OPTIONS: '-Xmx256M' |
24 | 24 | IEXEC_SMS_BLOCKCHAIN_NODE_ADDRESS: http://bellecour-fork:8545 |
25 | 25 | IEXEC_HUB_ADDRESS: '0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f' |
26 | | - IEXEC_TEE_WORKER_PRE_COMPUTE_IMAGE: docker.io/iexechub/tee-worker-pre-compute:7.1.0-sconify-5.3.15-debug |
27 | | - IEXEC_TEE_WORKER_PRE_COMPUTE_FINGERPRINT: 9f0f782d6edc611baa23ca0978f555ee58ea70e092640c961e75c25e9e4b0f22 |
28 | | - IEXEC_TEE_WORKER_PRE_COMPUTE_HEAP_SIZE_GB: 4 |
29 | | - IEXEC_TEE_WORKER_POST_COMPUTE_IMAGE: docker.io/iexechub/tee-worker-post-compute:7.1.1-sconify-5.3.15-debug |
30 | | - IEXEC_TEE_WORKER_POST_COMPUTE_FINGERPRINT: face1376b97131e2dc75a556381d47a2e03bed9e1bc11e462471f99d1eefae50 |
31 | | - IEXEC_TEE_WORKER_POST_COMPUTE_HEAP_SIZE_GB: 4 |
32 | | - IEXEC_IGNORED_SGX_ADVISORIES: INTEL-SA-00161,INTEL-SA-00289,INTEL-SA-00334,INTEL-SA-00381,INTEL-SA-00389,INTEL-SA-00220,INTEL-SA-00270,INTEL-SA-00293,INTEL-SA-00320,INTEL-SA-00329,INTEL-SA-00477 |
33 | | - IEXEC_SCONE_TOLERATED_INSECURE_OPTIONS: debug-mode,hyperthreading,outdated-tcb |
34 | | - IEXEC_SMS_DISPLAY_DEBUG_SESSION: 'true' |
35 | | - IEXEC_SCONE_CAS_HOST: foo |
36 | | - IEXEC_SMS_IMAGE_LAS_IMAGE: foo |
| 26 | + IEXEC_SMS_TEE_RUNTIME_FRAMEWORK: scone |
| 27 | + IEXEC_SMS_IMAGE_LAS_IMAGE: 'las-image' |
| 28 | + IEXEC_TEE_WORKER_PRE_COMPUTE_IMAGE: 'pre-compute-image' |
| 29 | + IEXEC_TEE_WORKER_PRE_COMPUTE_FINGERPRINT: 'pre-compute-fingerprint' |
| 30 | + IEXEC_TEE_WORKER_POST_COMPUTE_IMAGE: 'post-compute-image' |
| 31 | + IEXEC_TEE_WORKER_POST_COMPUTE_FINGERPRINT: 'post-compute-fingerprint' |
37 | 32 | ports: |
38 | 33 | - 13300:13300 |
| 34 | + healthcheck: |
| 35 | + test: curl -f localhost:13300/actuator/health || exit 1 |
39 | 36 | depends_on: |
40 | 37 | bellecour-fork: |
41 | 38 | condition: service_healthy |
42 | 39 |
|
43 | 40 | sms-debug: |
44 | | - image: iexechub/iexec-sms:7.1.0 |
| 41 | + image: iexechub/iexec-sms:8.7.0 |
45 | 42 | restart: unless-stopped |
46 | 43 | environment: |
47 | | - TZ: Europe/Paris |
| 44 | + JAVA_TOOL_OPTIONS: '-Xmx256M' |
48 | 45 | IEXEC_SMS_BLOCKCHAIN_NODE_ADDRESS: http://bellecour-fork:8545 |
49 | 46 | IEXEC_HUB_ADDRESS: '0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f' |
50 | | - IEXEC_TEE_WORKER_PRE_COMPUTE_IMAGE: docker.io/iexechub/tee-worker-pre-compute:7.1.0-sconify-5.3.15-debug |
51 | | - IEXEC_TEE_WORKER_PRE_COMPUTE_FINGERPRINT: 9f0f782d6edc611baa23ca0978f555ee58ea70e092640c961e75c25e9e4b0f22 |
52 | | - IEXEC_TEE_WORKER_PRE_COMPUTE_HEAP_SIZE_GB: 4 |
53 | | - IEXEC_TEE_WORKER_POST_COMPUTE_IMAGE: docker.io/iexechub/tee-worker-post-compute:7.1.1-sconify-5.3.15-debug |
54 | | - IEXEC_TEE_WORKER_POST_COMPUTE_FINGERPRINT: face1376b97131e2dc75a556381d47a2e03bed9e1bc11e462471f99d1eefae50 |
55 | | - IEXEC_TEE_WORKER_POST_COMPUTE_HEAP_SIZE_GB: 4 |
56 | | - IEXEC_IGNORED_SGX_ADVISORIES: INTEL-SA-00161,INTEL-SA-00289,INTEL-SA-00334,INTEL-SA-00381,INTEL-SA-00389,INTEL-SA-00220,INTEL-SA-00270,INTEL-SA-00293,INTEL-SA-00320,INTEL-SA-00329,INTEL-SA-00477 |
57 | | - IEXEC_SCONE_TOLERATED_INSECURE_OPTIONS: debug-mode,hyperthreading,outdated-tcb |
58 | | - IEXEC_SMS_DISPLAY_DEBUG_SESSION: 'true' |
59 | | - IEXEC_SCONE_CAS_HOST: foo |
60 | | - IEXEC_SMS_IMAGE_LAS_IMAGE: foo |
| 47 | + IEXEC_SMS_TEE_RUNTIME_FRAMEWORK: scone |
| 48 | + IEXEC_SMS_IMAGE_LAS_IMAGE: 'las-image' |
| 49 | + IEXEC_TEE_WORKER_PRE_COMPUTE_IMAGE: 'pre-compute-image' |
| 50 | + IEXEC_TEE_WORKER_PRE_COMPUTE_FINGERPRINT: 'pre-compute-fingerprint' |
| 51 | + IEXEC_TEE_WORKER_POST_COMPUTE_IMAGE: 'post-compute-image' |
| 52 | + IEXEC_TEE_WORKER_POST_COMPUTE_FINGERPRINT: 'post-compute-fingerprint' |
61 | 53 | ports: |
62 | 54 | - 13301:13300 |
| 55 | + healthcheck: |
| 56 | + test: curl -f localhost:13300/actuator/health || exit 1 |
63 | 57 | depends_on: |
64 | 58 | bellecour-fork: |
65 | 59 | condition: service_healthy |
@@ -249,9 +243,9 @@ services: |
249 | 243 | graphnode: |
250 | 244 | condition: service_healthy |
251 | 245 | sms: |
252 | | - condition: service_started |
| 246 | + condition: service_healthy |
253 | 247 | sms-debug: |
254 | | - condition: service_started |
| 248 | + condition: service_healthy |
255 | 249 | market-watcher: |
256 | 250 | condition: service_started |
257 | 251 | market-api: |
|
0 commit comments