Skip to content
This repository has been archived by the owner on May 18, 2023. It is now read-only.

KarolisKundrotas-Hostinger/upldr

Repository files navigation

Upldr - A simple server allowing to upload files

A simple server allowing to upload files. Designed to be used on Docker and Kubernetes.

Usage

curl --data-binary '@filetoupload.txt' -X POST -H 'X-Key: changeme' -H 'X-File-Name: fileonserver.txt' -H 'Content-Type: application/octet-stream' http://upldr/upload -v

Environment variables

Variable Description Default value
DOTNET_ENVIRONMENT Environment name Production
DOTNET_URLS Urls to listen to http://+:80
UploadPath Path where to store uploaded files /app/uploads
Key Key used to authenticate changeme