2 releases
0.2.3 | Aug 11, 2024 |
---|---|
0.2.2 | Jul 3, 2022 |
#1038 in HTTP server
115KB
2.5K
SLoC
PCloud Http Server
Proxy server to have a static file server from your pcloud instance
How to build and run
# to run in root folder
docker build -t pcloud-http-server -f http-server/Dockerfile .
# and run the container
docker run -d \
-p 3000:3000 \
-e RUST_LOG=info \
-e PCLOUD_REGION=eu \
-e PCLOUD_USERNAME=username \
-e PCLOUD_PASSWORD=password \
pcloud-http-server
# display content
curl http://localhost:3000/by-path/
Dependencies
~14–27MB
~384K SLoC