Skip to content

Instantly share code, notes, and snippets.

@bjoern-r
Created November 30, 2015 08:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjoern-r/edfc46fb3d7e482bbd94 to your computer and use it in GitHub Desktop.
Save bjoern-r/edfc46fb3d7e482bbd94 to your computer and use it in GitHub Desktop.
Start pastebin server
docker run -d --name=pastebinit -e PASTEBINIT_USERNAME=foo -e PASTEBINIT_PASS=aceme -p 8081:8081 bjoern/pastebinit -b http://demo.fiteagle.org:8081/ -p 8081
echo 'for cleanup run: docker exec -it pastebinit sh -c "find /files/ -mtime +10 | xargs echo rm"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment