This is my simple pastebin server.
Features:
- password for paster
- no password for readers
- no list of pastes
- short random path
- unambiguous paths
- TODO: file deduplication on disk
- Browser: Go to https://p.example.com/ and log in with any username and your password
- curl: The content type will not be set; a receiving browser will probably just download it without displaying it
curl -F 'file=@path/to/file' 'https://anyuser:Change-This-Passphrase@p.example.com'
- clone the repo and
cd
into it cp docker-compose.override{-example,}.yml
- edit docker-compose.override.yml as desired
mkdir data
chmod a+w data
docker compose up -d