/selfhost-pb

My docker config for pb

MIT LicenseMIT

pb is a self-hosted pastebin and url shortening service.

This docker config uses this image.

Setup

This relies on my base docker services.
You'll want to symlink that project's .env file into this project's directory and set DOMAIN_SHORTENER in it (or edit docker-compose.yml to use a subdomain of ${DOMAIN_BASE} - whatever makes sense for you).

Once that's done you can just spin it up with docker-compose up -d. Boom, service working.

Out of the box, pb only accepts pastes and URLs via API.
Optionally you can set up a friendly web form for this, the process for that is described in the README for pbwww. not yet. but soon!