Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/velimir/snapaste-docker

Dockerfile for https://github.com/kstarikov/snapaste
https://github.com/velimir/snapaste-docker

Last synced: about 2 months ago
JSON representation

Dockerfile for https://github.com/kstarikov/snapaste

Awesome Lists containing this project

README

        

# Snapaste Docker

Dockerfile for https://github.com/kstarikov/snapaste

> A snapping pastebin implementation. Whatever text data posted to it can only be accessed once.

## Usage

### Run prebuilt image

#### Generate ssl certificate

```bash
mkdir ssl
openssl req -x509 -nodes -newkey rsa:2048 \
-keyout ./ssl/domain.key \
-out ./ssl/domain.crt \
-subj "/C=UK/ST=Wales/L=Cardiff/O=snapaste/CN=snapaste.com"
```

If you already have certificates just copy them to ssl directory or provide vaid certificates' path to docker.

#### Add snapaste config

```bash
cat > erl.config < /snapaste
docker push /snapaste
```

Then go to section [how to use image](#run-prebuilt-image) and replace all `velimir/snapaste` with name of your image.