This open-source pastebin application provides a robust solution for sharing code snippets and text. Built entirely in Python using the Django framework, it offers flexibility for developers who want to host their own code-sharing platform. You can deploy it as a standalone application or integrate it as a module within your existing Django projects.\n\nKey features include:\n* Flexible deployment: Run it independently or plug it into an active Django environment.\n* Open-source codebase: Fully transparent and customizable to fit specific hosting requirements.\n* Modern requirements: Built to run efficiently on Python 3.9+ and Django 3.2+.\n* Self-hosted control: Manage your own data and privacy by hosting the pastebin on your own infrastructure.\n\nWhether you are setting up an internal tool for your development team or launching a public code-sharing site, this project delivers the foundational architecture needed for reliable text storage.
services:
dpaste:
image: darrenofficial/dpaste:latest
container_name: dpaste
restart: unless-stopped
ports:
- "8000:8000"
volumes:
- ./data:/data
environment:
- SECRET_KEY=${SECRET_KEY}
- DEBUG=False
- ALLOWED_HOSTS=*
- DATABASE_URL=sqlite:////data/dpaste.dbSECRET_KEY=change_me_to_a_secure_random_string_32_chars_minAuto-fetched about 22 hours ago
Auto-fetched about 22 hours ago