susmitpy / LocalFileTransfer

Allows clients to connect over local network and send/download files to/from the server
4 stars 1 forks source link

added docker as a runtime option #6

Open Nazneenp opened 2 days ago

Nazneenp commented 2 days ago

Summary

Added Docker runtime to containerize the application. This includes creating a Dockerfile and a docker-compose.yml file to streamline running the app and improve setup speed.

Related Issue

Resolves #4

Changes Made

Notes for Reviewers

Checklist

susmitpy commented 1 day ago

Hi @Nazneenp Not able to access the webpage from the IP address which is not 127.0.0.1 , please check

Nazneenp commented 1 day ago

Brother as you can see in the screenshort given below there are 2 ip which can be use to access the application and both of the ip are working fine

Screenshot from 2024-10-07 19-45-23

susmitpy commented 23 hours ago

Hi @Nazneenp Can you try visiting the second url on your local machine as well as from another device connected on the same network ? The page is not loading for me.

Nazneenp commented 7 hours ago

@susmitpy brother if you want to access the app on other device use the host machine local ip with port for ex http://{hostmachine ip}:5000. the second ip make the communication between the host machine and the docker container. if i am wrong do correct me. thank you

susmitpy commented 7 hours ago

Hi @Nazneenp Can you please attach the below screenshots to the PR ?

  1. An IP address printed on the terminal as "Server running on: " (should not be 127.0.0.1)

  2. The same IP address being used on host machine browser with the webpage rendered

  3. The same IP address being used on a client machine (say a mobile device) browser with the webpage rendered

Thanks