Nestjs has docker file it using mydb

yasirrafiq33
FREE

3 days 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

3 days 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

3 days ago

.


clashing
FREETop 1% Contributor

2 days 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
HOBBYTop 5% Contributor

2 days ago

dude what are you on about ?


smolpaw

dude what are you on about ?

clashing
FREETop 1% Contributor

2 days 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
FREETop 1% Contributor

6 hours ago

Any progress, yasirrafiq33?