Created
November 30, 2015 08:06
-
-
Save bjoern-r/edfc46fb3d7e482bbd94 to your computer and use it in GitHub Desktop.
Start pastebin server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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