Sign inSign up

koryfreese/hastebin

By koryfreese

Updated about 7 years ago

Image
0

50K+

koryfreese/hastebin repository overview

Thanks to https://github.com/nrobinaubertin/dockerfiles/tree/master/hastebin for this Dockerfile. Original README below

Hastebin

Simple, lightweight and secure Hastebin container based on Alpine Linux

hastebin

What is hastebin ?

hastebin is the prettiest, easiest to use pastebin ever made. It is used to share text and can be used from the command line with the hastebin-client. You can find the server repo here.

Goal of this container

Propose a lightweight and secure container that is easy to setup.

Features
  • Based on Alpine Linux.
  • No Root processes, as secure as possible.
  • You can choose your storage type
Run-time variables
  • STORAGE_TYPE: (Optional) Type of storage ("file" or "redis")
  • REDIS_HOST: (Optional) The ip of the redis db
  • UID: (Optional) The UID executing the server
  • GID: (Optional) The GID executing the server
Ports
  • 7777
Setup

Docker compose v3

  hastebin:
    image: koryfreese/hastebin
    container_name: hastebin
    environment:
      - UID=1000
      - GID=1000
      - STORAGE_TYPE=file
    volumes:
      - /path/to/hastebin/data:/hastebin/data
    ports:
      - 7777:7777
    restart: unless-stopped
    network_mode: bridge
    hostname: hastebin

Tag summary

Content type

Image

Digest

Size

25.1 MB

Last updated

about 7 years ago

docker pull koryfreese/hastebin