Skip to content

How to access json parameters used in moleculer.config.js from docker compose environment config file (.env) #1086

Discussion options

You must be logged in to vote

Hi @AndreMaz and @icebob ,
Thanks a lot for your quick replies , I tried below as you suggested (with one change HEART_BEAT to HEARTBEAT) and it works ( hope I should have seen line 240 in runner.js :) prior ):
MOL_TRANSPORTER__OPTIONS__EVENT_TIME_TO_LIVE=10000
MOL_TRANSPORTER__OPTIONS__HEARTBEAT_TIME_TO_LIVE=10000

Thanks Again Buddy.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@icebob
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by rohitpatidar007
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants