silverwind / droppy

**ARCHIVED** Self-hosted file storage
BSD 2-Clause "Simplified" License
1.62k stars 194 forks source link

How to access droppy outside the local network ? #316

Open toptestblogger opened 7 years ago

toptestblogger commented 7 years ago

I installed droppy on a VPS with docker . Cant access the application remotely .Can you please make it access outside localnetwork ?

silverwind commented 7 years ago

If you have a public IP and want to run standalone, you can just publish the port via the docker command line, e.g.

docker run --name droppy -p -p 0.0.0.0:80:8989 silverwind/droppy
silverwind commented 7 years ago

Generally, I recommend having a reverse proxy server so you can do things http -> https redirection and have generally more control, for example via nginx:

https://github.com/silverwind/droppy/wiki/Nginx-reverse-proxy

latimeria68 commented 4 years ago

Hello, sorry can you please better explain this as not working for me: docker run --name droppy -p -p 0.0.0.0:80:8989 silverwind/droppy

I don't want to use a proxy and just reach droppy from outside local lan using a ddns service like mysite.noip.org

I use portainer stack, should I have to add something to the compose below:

version: '2'

services: droppy: container_name: droppy image: silverwind/arm64v8-droppy environment:

Thanks