1 unstable release
0.2.2 | Jul 3, 2022 |
---|
#42 in #http-proxy
150KB
3.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/
Dependencies
~21–36MB
~629K SLoC