> For the complete documentation index, see [llms.txt](https://homelab.4pfsec.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://homelab.4pfsec.com/self-hosted-services/pasty.md).

# Pasty

## About

I was looking for an open source self-hosted alternative to something like paste bin. That's when I found [Pasty](https://github.com/lus/pasty). I've been using it for about 4 months now and its good at what it does! No complaints. One thing I like about it is that it sets a modification password and users will only be able to edit a created paste is by entering the password.

![](/files/5iab8UpG5WP8D5B1ZIVs)

![](/files/Nn8blCO34RiNWPSArk6J)

## Docker-Compose

```
version: '3.3'
services:
    lus:
        restart: unless-stopped
        ports:
            - '8080:8080'
        container_name: pasty
        environment:
            - PASTY_AUTODELETE=true
        image: 'ghcr.io/lus/pasty:latest'
```
