An open API service indexing awesome lists of open source software.

https://github.com/sciencewolf/file-server-raspberry-pi

File server hosted on a Raspberry Pi
https://github.com/sciencewolf/file-server-raspberry-pi

file-server javascript ngrok python3 raspberry-pi-4b

Last synced: about 2 months ago
JSON representation

File server hosted on a Raspberry Pi

Awesome Lists containing this project

README

          

# File server on Raspberry Pi 4B

- Visit https://willing-just-penguin.ngrok-free.app/ to upload files to the Raspberry Pi–based remote storage.

## Host on your Raspberry Pi using Docker
> [!NOTE]
> Build and run container

- `sudo docker build -t file-server .`
- `docker run -d -p 8080:8080 -v /home/data:/app/data file-server `

> [!NOTE]
> Stop the container

- `sudo docker stop `

> [!NOTE]
> You can expose the file server to the internet using [ngrok](https://ngrok.com/ "ngrok site").

- Change domain inside `run.sh`
- Add `run.sh` to crontab: `@reboot /bin/bash /run.sh`