Nestjs has docker file it using mydb
yasirrafiq33
FREEOP

8 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

8 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

8 months ago

.


clashing
HOBBY

8 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

8 months ago

dude what are you on about ?


smolpaw

dude what are you on about ?

clashing
HOBBY

8 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
HOBBY

8 months ago

Any progress, yasirrafiq33?


Loading...