mirror of
https://github.com/tiyn/wiki.git
synced 2025-10-10 09:51:22 +02:00
restructuring to wiki-repo
This commit is contained in:
24
docker/hastebin/readme.md
Normal file
24
docker/hastebin/readme.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# Hastebin
|
||||
This is a dockerized version of a hastebin server.
|
||||
The official container and documentation was made by [rlister](https://hub.docker.com/r/rlister/hastebin).
|
||||
|
||||
## Environment-variables
|
||||
Set the following variables with the -e tag.
|
||||
|
||||
| Name | Usage | Default |
|
||||
| ------------ | ----------------------- | ------- |
|
||||
| STORAGE_TYPE | Type to store the datas | file |
|
||||
|
||||
## Volumes
|
||||
Set the following volumes with the -v tag.
|
||||
|
||||
| Volume-Name | Container mount | Description |
|
||||
| ---------------- | --------------- | -------------------------- |
|
||||
| hastebin | /app/data | storage directory for data |
|
||||
|
||||
## Ports
|
||||
Set the following ports with the -p tag.
|
||||
|
||||
| Container Port | Recommended outside port | Protocol | Description |
|
||||
| -------------- | ------------------------ | -------- | ----------- |
|
||||
| 7777 | 7777 | TCP | WebUI |
|
10
docker/hastebin/rebuild.sh
Executable file
10
docker/hastebin/rebuild.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
docker stop hastebin
|
||||
docker rm hastebin
|
||||
docker pull rlister/hastebin:latest
|
||||
docker run --name hastebin \
|
||||
--restart unless-stopped \
|
||||
-p 7777:7777 \
|
||||
-v hastebin:/app/data \
|
||||
-e STORAGE_TYPE=file \
|
||||
-d rlister/hastebin:latest
|
Reference in New Issue
Block a user