A minimalist, high-performance paste service written in Go.
services:
pastebin:
image: ghcr.io/skidoodle/pastebin:latest
container_name: pastebin
restart: unless-stopped
ports:
- "3000:3000"
volumes:
- ./data:/dataRequires Go 1.25 or higher.
go build -o pastebin .
./pastebin -addr :3000 -db-path pastebin.db| Flag | Description | Default |
|---|---|---|
-addr |
Socket address to bind to. | :3000 |
-db-path |
Path to the BoltDB database file. | pastebin.db |
-max-size |
Maximum allowed paste size in bytes. | 10485760 |
-ttl |
Time to live for pastes before expiration. | 168h0m0s |
This project is licensed under the Zero-Clause BSD.