Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/velimir/snapaste-docker
- Owner: velimir
- Created: 2016-02-07T17:16:08.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-07T18:21:02.000Z (almost 9 years ago)
- Last Synced: 2023-03-30T08:18:00.279Z (almost 2 years ago)
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.