PixelPioneer
PixelPioneer
Explore posts from servers
RRailway
Created by PixelPioneer on 7/2/2024 in #✋|help
Multiple ports in docker
hey i have a svelte and go app in a docker contianer ( tldr -> my i have django(1st contianer successfully deployed), go and svelte app( another contianer), Django app makes api calls to the golang server that writes to the svelte files; I am porting this here form aws, here is my repo link ->https://github.com/MONISHSHARMA080/deploy_first_website-to_fly/ ) I want to serve my svelte app on the default port(80) and go on 4696(any thing else will be fine too ) but when i deploy it i set the PORT variable to be 4696 and i get the go server( live here ->https://deployfirstwebsite-tofly-production.up.railway.app/), but when it is 80 i get nothing in return , and also how am I able to serve both the apps on different ports
4 replies