Replies: 3 comments
-
Modern.js will not configure your IP, it depends on where your docker is running. |
Beta Was this translation helpful? Give feedback.
0 replies
-
you can refer to https://modernjs.dev/en/guides/basic-features/deploy.html#nodejs to deploy your app on docker which Including Node.js environment. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for the suggestion. I referred the document and followed the steps.
I followed these steps without docker
host (localhost:8080)
npx modern deploy
node .output/index
Followed the same above step as that of the host. Host modern.config.js has
sub app ip configured and sub apps starts in their respective ports
Sub app 1 - (localhost: 8081)
Sub app 2 - (localhost: 8082)
But I see blank pages on the host...
While if i run my apps using 'pnpm run dev' (host and sub apps), it all
works well.
I will be happy to connect and walk you through my app. I am almost
production ready , but blocked on this production deployment.
Thank you !
…On Wed, Aug 7, 2024 at 4:46 PM zero ***@***.***> wrote:
you can refer to
https://modernjs.dev/en/guides/basic-features/deploy.html#nodejs to
deploy your app on docker which Including Node.js environment.
—
Reply to this email directly, view it on GitHub
<#6048 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGPZOMM4NRKDGRBRHMHC7LZQH6Y5AVCNFSM6AAAAABMEFHTC2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMRWGM2TQMI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
have main /host app and sub apps workfing well though module federation. But I now need to prod deploy these apps using docker.
Please help me if you have any reference. Really appreciate. I am primarily looking at how modernjs. ip configurations can be configured for production usecases
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions