Favicon of Pastefy

Pastefy

Share code snippets and text securely with an open-source, self-hosted alternative to popular pastebin services. Keep full control over your shared data.

Share and manage your code snippets with complete privacy and control. This open-source alternative to popular pastebin and gist services allows you to host your own text sharing platform directly on your infrastructure. Whether you are collaborating with a team or saving useful scripts for later, you maintain full ownership of your data.\n\nKey benefits include:\n* Self-hosted privacy: Keep your sensitive code and text snippets on your own servers.\n* Open-source transparency: Inspect, modify, and contribute to the codebase without vendor lock-in.\n* Easy sharing: Generate links quickly to share logs, configurations, or code blocks with colleagues.\n* Organized snippets: Manage your saved texts efficiently, making it simple to find what you need when you need it.\n\nTake control of your shared text and code today with a lightweight, reliable hosting solution.

Directory Structure

pastefy
data
.env
docker-compose.yml

docker-compose.yml

services:
  pastefy:
    image: interaapps/pastefy:latest
    restart: unless-stopped
    ports:
      - "8080:8080"
    environment:
      PASTEFY_MONGODB_CONNECTION_STRING: mongodb://${MONGO_USER}:${MONGO_PASSWORD}@mongo:27017/pastefy?authSource=admin
      PASTEFY_REDIS_HOST: redis
      PASTEFY_REDIS_PORT: 6379
    depends_on:
      - mongo
      - redis

  mongo:
    image: mongo:latest
    restart: unless-stopped
    environment:
      MONGO_INITDB_ROOT_USERNAME: ${MONGO_USER}
      MONGO_INITDB_ROOT_PASSWORD: ${MONGO_PASSWORD}
    volumes:
      - ./data/mongo:/data/db

  redis:
    image: redis:alpine
    restart: unless-stopped

.env

MONGO_USER=pastefy_admin
MONGO_PASSWORD=your_secure_password_here
Categories:

Share:

Ad
Favicon

 

  
 

Similar to Pastefy

Favicon

 

  
  
Favicon

 

  
  
Favicon