mirror of
https://github.com/logos-messaging/logos-messaging-simulator.git
synced 2026-01-03 22:43:07 +00:00
nwaku services now depends_on the contract deployment to have successfully completed
This commit is contained in:
parent
55eeb70f52
commit
ec89d1dd78
@ -66,6 +66,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- simulation
|
- simulation
|
||||||
|
|
||||||
|
# Because of the of the depends_on condition these services will only be created once the contract-repo-deployer has successfully completed/exited, this can take over 5mins
|
||||||
nwaku:
|
nwaku:
|
||||||
image: ${NWAKU_IMAGE:-wakuorg/nwaku:latest}
|
image: ${NWAKU_IMAGE:-wakuorg/nwaku:latest}
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
@ -79,6 +80,8 @@ services:
|
|||||||
- RLN_CONTRACT_ADDRESS=0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0
|
- RLN_CONTRACT_ADDRESS=0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0
|
||||||
- RLN_CREDENTIAL_PATH=/keystore.json
|
- RLN_CREDENTIAL_PATH=/keystore.json
|
||||||
- RLN_CREDENTIAL_PASSWORD=passw123
|
- RLN_CREDENTIAL_PASSWORD=passw123
|
||||||
|
- RLN_RELAY_MSG_LIMIT=${RLN_RELAY_MSG_LIMIT:-10}
|
||||||
|
- RLN_RELAY_EPOCH_SEC=${RLN_RELAY_EPOCH_SEC:-60}
|
||||||
command:
|
command:
|
||||||
- '/opt/run_nwaku.sh'
|
- '/opt/run_nwaku.sh'
|
||||||
volumes:
|
volumes:
|
||||||
@ -86,7 +89,7 @@ services:
|
|||||||
- privatekeys-volume:/shared
|
- privatekeys-volume:/shared
|
||||||
depends_on:
|
depends_on:
|
||||||
contract-repo-deployer:
|
contract-repo-deployer:
|
||||||
condition: service_completed_successfully
|
condition: service_completed_successfully
|
||||||
networks:
|
networks:
|
||||||
- simulation
|
- simulation
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user