Merge branch 'sethforprivacy-app/send'

This commit is contained in:
Nicolas Meienberger 2022-09-19 10:01:25 +02:00
commit 1dcc4a57e2
4 changed files with 91 additions and 0 deletions

16
apps/send/config.json Normal file
View File

@ -0,0 +1,16 @@
{
"$schema": "../schema.json",
"name": "Send",
"available": true,
"exposable": true,
"port": 8126,
"id": "send",
"tipi_version": 1,
"version": "latest",
"categories": ["utilities"],
"description": "A file sharing experiment which allows you to send encrypted files to other users.",
"short_desc": "Simple, private file sharing. https://send.vis.ee/",
"author": "timvisee",
"source": "https://gitlab.com/timvisee/send",
"form_fields": []
}

View File

@ -0,0 +1,46 @@
version: "3.7"
services:
send:
image: registry.gitlab.com/timvisee/send:latest
container_name: send
restart: unless-stopped
dns:
- ${DNS_IP}
ports:
- ${APP_PORT}:1443
networks:
- tipi_main_network
volumes:
- ${APP_DATA_DIR}/data/uploads:/uploads
environment:
- NODE_ENV=production
# Networking
- BASE_URL=${APP_PROTOCOL:-http}://${APP_DOMAIN}
# Redis
- REDIS_HOST=send-redis
# Storage Limit
- MAX_FILE_SIZE=2147483648
- DETECT_BASE_URL=true
depends_on:
- send-redis
labels:
traefik.enable: ${APP_EXPOSED}
traefik.http.routers.send.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.send.entrypoints: websecure
traefik.http.routers.send.service: send
traefik.http.routers.send.tls.certresolver: myresolver
traefik.http.services.send.loadbalancer.server.port: 1443
send-redis:
image: redis:alpine
container_name: send-redis
restart: unless-stopped
volumes:
- ${APP_DATA_DIR}/data/redis:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 1s
timeout: 3s
retries: 30
networks:
- tipi_main_network

View File

@ -0,0 +1,29 @@
A fork of Mozilla's [Firefox Send][mozilla-send].
Mozilla discontinued Send, this fork is a community effort to keep the project
up-to-date and alive.
- Forked [at][fork-commit] Mozilla's last publicly hosted version
- _Mozilla_ & _Firefox_ branding [is][remove-branding-pr] removed so you can legally self-host
- Kept compatible with [`ffsend`][ffsend] (CLI for Send)
- Dependencies have been updated
- Mozilla's [changes][mozilla-patches] since the fork have been selectively [merged][mozilla-patches-pr]
- Mozilla's experimental report feature, download tokens, trust warnings and FxA changes are not included
Find an up-to-date Docker image here: [docs/docker.md](docs/docker.md)
The original project by Mozilla can be found [here][mozilla-send].
Please consider to [donate][donate] to allow me to keep working on this.
Thanks [Mozilla][mozilla] for building this amazing tool!
[branch-mozilla-master]: https://gitlab.com/timvisee/send/-/tree/mozilla-master
[branch-send-v3]: https://gitlab.com/timvisee/send/-/tree/send-v3
[branch-send-v4]: https://gitlab.com/timvisee/send/-/tree/send-v4
[donate]: https://timvisee.com/donate
[ffsend]: https://github.com/timvisee/ffsend
[fork-commit]: https://gitlab.com/timvisee/send/-/commit/3e9be676413a6e1baaf6a354c180e91899d10bec
[mozilla-patches-pr]: https://gitlab.com/timvisee/send/-/merge_requests/3
[mozilla-patches]: https://gitlab.com/timvisee/send/-/compare/3e9be676413a6e1baaf6a354c180e91899d10bec...mozilla-master
[mozilla-send]: https://github.com/mozilla/send
[mozilla]: https://mozilla.org/
[remove-branding-pr]: https://gitlab.com/timvisee/send/-/merge_requests/2

BIN
apps/send/metadata/logo.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB