项目作者: InnovativeInventor

项目描述 :
A secure container for running haste with docker or docker-compose
高级语言: JavaScript
项目地址: git://github.com/InnovativeInventor/docker-haste.git
创建时间: 2018-03-14T03:23:30Z
项目社区:https://github.com/InnovativeInventor/docker-haste

开源协议:MIT License

下载


Docker-hastebin

This is a simple way to run haste-server using Docker. By default, CORS is enabled. To disable CORS, use the Docker and Compose files within the folder no-cors.

Clone this repository, then type in:
docker-compose up

Running using Docker

To build this using Docker, clone this repository, then type in:

  1. git clone
  2. docker build -t haste-server .
  3. docker run haste-server

or, you can use the prebuilt images on Docker Hub:

  1. docker pull innovativeinventor/docker-haste
  2. docker run innovativeinventor/docker-haste

Extra notes

The images on Docker Hub are only built when I push to this repo, so if you want the latest version of docker-haste, either build it yourself or tell me to trigger a build on Docker Hub(make an issue).

To completely rebuild via compose right before deployment, type in:
docker-compose build --no-cache && docker-compose up -d

To explore the files in your docker container, type in:
sudo docker exec -it dockerhaste_hastebin_1 sh

Credits & Contributions

seejohnrun/haste-server

Contributions are always welcome – and appreciated! Just submit a pull request, and I’ll review it.