Home Catalog Microbin
Utilities

Microbin

Ultra-lightweight, configurable, feature-rich, self-hosted pastebin service.

ARM64 & AMD64
Docker & Rootless Podman
100% Self-Hosted (Zero Lock-in)
RAM Profile: Low
Default Port: Port 8080

Why this Configuration?

Quick Start (Standalone Docker Compose)

The snippet below is immediately ready to run in any standard Docker or Podman environment:

services:
  microbin:
    image: danielszabo99/microbin:latest
    container_name: njorddeploy-microbin
    ports:
      - "8080:8080"
    volumes:
      - "data_root/microbin/data:/data"
    environment:
      - PORT=8080
      - DATA_DIR=/data
      - BASE_URL=microbin_base_url
      - ADMIN_PASSWORD=ChangeMeSecurePassword123!
      - MAX_CONTENT_LENGTH_KB=1024
      - DEFAULT_EXPIRATION_SECONDS=0
      - SALT=CHANGEME_SECURELY
    networks:
      - njorddeploy_net
networks:
  njorddeploy_net:

Start the service directly via the command line: docker compose up -d

Configuration & Environment Variables

Key configuration parameters and defaults derived from the NjordDeploy component template:

Variable Default Value Description
MICROBIN_PORT 8080 The port on the host to access the Microbin web interface.
MICROBIN_BASE_URL *None* The base URL for the Microbin instance (e.g., https://paste.example.com). Leave empty for relative paths.
MICROBIN_ADMIN_PASSWORD *None* The password for the Microbin administration interface. Leave empty for no admin password.
MICROBIN_MAX_CONTENT_LENGTH_KB 1024 Maximum content length for a paste in kilobytes.
MICROBIN_DEFAULT_EXPIRATION_SECONDS 0 Default expiration time for pastes in seconds. 0 means no expiration.
MICROBIN_SALT CHANGEME_SECURELY A random salt string for secure hashes. It is HIGHLY RECOMMENDED to change this from the default value.
MICROBIN_HIGHLIGHT_SYNTAX 1
MICROBIN_EDITABLE 1

Ecosystem & Enterprise Integration

Effortless Management with NjordDeploy

Deploy, monitor, and update this service with a single click on your own hardware via the NjordDeploy Configurator.