GithubHelp home page GithubHelp logo

andreipoe / docker-tastebin Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1 KB

A Docker Image for Tastebin

Home Page: https://hub.docker.com/r/andreipoe/docker-tastebin/

Dockerfile 90.12% Shell 9.88%

docker-tastebin's Introduction

docker-tastebin

This is a Docker image for Tastebin, an improved version of Hastebin.

Get the image

You can download a pre-built image from Docker Hub:

docker pull andreipoe/tastebin

Alternatively, you can build a copy yourself from source:

git clone https://github.com/andreipoe/docker-tastebin.git
cd docker-tastebin
docker build -t andreipoe/tastebin .

Run the image

The recommended way to run the image is:

docker run -d --name tastebin \
    --restart unless-stopped \
    -p 127.0.0.1:13000:3000 \
    -v /data/tastebin/tastes:/app/tastes \
    -v /data/tastebin/config/config.coffee:/app/config.coffee \
    andreipoe/tastebin

Then, run a reverse proxy to forward from your domain to 127.0.0.1:13000.

Configuration

The two -v parameters define where your configurations is stored:

  • -v /path/to/tastes:/app/tastes: Store your pastes ("tastes") in /path/to/tastes on the host.
  • -v /path/to/config.coffee:/app/config.coffee: Path to your custom configuration file. If you want to customise config.coffee, start from the default. This paramter is optional; if you omit it, the default will be used

docker-tastebin's People

Contributors

andreipoe avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.