Nestjs has docker file it using mydb
yasirrafiq33
FREEOP

10 months ago

I have created two services mysql and api service for nestjs. Now The application is not picking env variables for mysql service from private network

$10 Bounty

6 Replies

Railway
BOT

10 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


ayush-tibrewal
FREE

10 months ago

.


clashing
FREE

10 months ago

You should define the variables separately for each of the services being used! Transporting variables from one service to another via a private network is not viable.

https://docs.railway.com/guides/variables is the variables doc that you can refer. to You can use simple variables, shared variables, & even referenced variables in the services to get started.


ayush-tibrewal

.

smolpaw
HOBBY

10 months ago

dude what are you on about ?


smolpaw

dude what are you on about ?

clashing
FREE

10 months ago

He just deleted his post!!


clashing

You should define the variables separately for each of the services being used! Transporting variables from one service to another via a private network is not viable. <https://docs.railway.com/guides/variables> is the variables doc that you can refer. to You can use simple variables, shared variables, & even referenced variables in the services to get started.

clashing
FREE

10 months ago

Any progress, yasirrafiq33?


Welcome!

Sign in to your Railway account to join the conversation.

Loading...