Share text, code snippets, and important documents with a highly reliable pastebin server designed for speed and efficiency. Built entirely in Go, this platform provides a robust foundation for hosting and distributing plain text content without unnecessary bloat. Whether you are collaborating on programming projects, saving quick notes, or distributing configuration files, you get a fast and dependable experience.
Key benefits include:
Perfect for developers and teams who need a straightforward way to distribute text online.
services:
spacebin:
image: ghcr.io/lukewhrit/spacebin:latest
container_name: spacebin
restart: unless-stopped
ports:
- "8080:8080"
environment:
SPACEBIN_SERVER_PORT: 8080
SPACEBIN_SERVER_LISTEN_ADDR: "0.0.0.0"
SPACEBIN_STORAGE_TYPE: "postgres"
SPACEBIN_STORAGE_CONNECTION_STRING: "postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}?sslmode=disable"
depends_on:
- db
db:
image: postgres:14-alpine
container_name: spacebin_db
restart: unless-stopped
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}
volumes:
- ./data/postgres:/var/lib/postgresql/dataPOSTGRES_USER=spacebin
POSTGRES_PASSWORD=your_secure_password
POSTGRES_DB=spacebinAuto-fetched about 16 hours ago
Auto-fetched about 16 hours ago