Skip to content

Commit 3119b07

Browse files
committed
add transfer.sh
1 parent 7fa5659 commit 3119b07

File tree

3 files changed

+42
-0
lines changed

3 files changed

+42
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ docker compose up
154154
- [Droppy](examples/droppy) (deprecated) - droppy is a self-hosted file storage server with a web interface and capabilities to edit files and view media directly in the browser. It is particularly well-suited to be run on low-end hardware like the Raspberry Pi.
155155
- [PairDrop](examples/pairdrop) - PairDrop is a sublime alternative to AirDrop that works on all platforms. Send images, documents or text via peer to peer connection to devices in the same local network/Wi-Fi or to paired devices.
156156
- [MinIO](examples/minio) - MinIO is an object storage server, compatible with Amazon S3 cloud storage service, mainly used for storing unstructured data (such as photos, videos, log files, etc.).
157+
- [Transfer.sh](examples/transfer.sh) - Easy and fast file sharing from the command-line.
157158

158159
### Publishing, Writing, Blogging, Hosting
159160
- [Ghost](examples/ghost) - Ghost is a free and open source blogging platform written in JavaScript and distributed under the MIT License, designed to simplify the process of online publishing for individual bloggers as well as online publications.

examples/transfer.sh/README.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# References
2+
3+
- https://github.com/dutchcoders/transfer.sh
4+
5+
# Notes
6+
7+
Ensure that the bind mount volume can be written by the container.
+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
version: '3.3'
2+
3+
services:
4+
transfer:
5+
image: dutchcoders/transfer.sh:latest-noroot
6+
container_name: transfer
7+
hostname: transfer
8+
restart: unless-stopped
9+
ports:
10+
- 8080:8080/tcp
11+
expose:
12+
- 8080
13+
volumes:
14+
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/transfer:/tmp
15+
command:
16+
- --provider=local
17+
- --basedir=/tmp/
18+
#networks:
19+
# - dev # or use dev for testing purposes
20+
#labels:
21+
# - traefik.enable=true
22+
# - traefik.http.routers.transfer.rule=Host(`transfer.example.com`)
23+
# - traefik.http.services.transfer.loadbalancer.server.port=8080
24+
# - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads
25+
# - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads
26+
# - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads
27+
# - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads
28+
# - traefik.docker.network=proxy
29+
# # Part for optional traefik middlewares
30+
# - traefik.http.routers.transfer.middlewares=local-ipwhitelist@file
31+
32+
#networks:
33+
# dev: # or use dev for testing purposes
34+
# external: true

0 commit comments

Comments
 (0)