transmission. Draft added.

This commit is contained in:
Alexey Skobkin 2024-09-20 23:34:39 +03:00
parent 3e058d228f
commit a534092234
Signed by: skobkin
GPG key ID: 4389E670595BF8A8
6 changed files with 64 additions and 0 deletions

View file

@ -78,5 +78,6 @@ Not every stack is tested to fully work.
| Telegram RSS Bot | ✅ | `miroslavsckaya/tg-rss-bot` | Telegram RSS Bot by @Miroslavsckaya. | [Gitea](https://git.skobk.in/Miroslavsckaya/tg_rss_bot/), [Github Mirror](https://github.com/Miroslavsckaya/tg_rss_bot) |
| Tor OBFS4 Bridge | ✅ | `thetorproject/obfs4-bridge` | Tor OBFS4 Bridge for Tor blocking bypass. | [Website](https://community.torproject.org/relay/setup/bridge/), [Gitlab](https://gitlab.torproject.org/tpo/anti-censorship/docker-obfs4-bridge), [Manual](https://community.torproject.org/relay/setup/bridge/docker/) |
| Tor Privoxy | ✅ | `registry.gitlab.com/skobkin/torproxy-obfs4` | Tor image with integrated privoxy and OBFS4 bridge support. | [Original image Github](https://github.com/dperson/torproxy), [OBFS4 support image Gitlab](https://gitlab.com/skobkin/torproxy-obfs4) |
| Transmission | ✅ | `lscr.io/linuxserver/transmission` | Torrent client suitable for NAS. | [Github](https://github.com/linuxserver/docker-transmission), [LinuxServer Fleet](https://hub.docker.com/r/linuxserver/transmission) |
| Watchtower | ✅ | `containrrr/watchtower` | Docker container auto-update daemon. | [Website](https://containrrr.dev/watchtower/), [Github](https://github.com/containrrr/watchtower) |
| Webhook.site | | `webhooksite/webhook.site` | HTTP callback testing tool | [Website](https://webhook.site), [Github](https://github.com/webhooksite/webhook.site) |

24
transmission/.env.dist Normal file
View file

@ -0,0 +1,24 @@
# https://hub.docker.com/r/linuxserver/transmission
IMAGE_TAG=latest
AUTH_USER=username
AUTH_PASSWORD=*ChangeThis*
USER_ID=1000
GROUP_ID=1000
#UMASK=022
P2P_PORT=6882
WEB_PORT=9091
#NETWORK_MODE=host
DIR_CONFIG=./config
DIR_DOWNLOAD=./download
DIR_WATCH=./watch
TIMEZONE=Europe/Moscow
LOG_MAX_SIZE=5m
LOG_MAX_FILE=5

2
transmission/config/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
/*
!/.gitignore

View file

@ -0,0 +1,33 @@
services:
transmission:
image: 'lscr.io/linuxserver/transmission:${IMAGE_TAG:-latest}'
container_name: 'transmission'
environment:
- 'PUID=${USER_ID:-1000}'
- 'PGID=${GROUP_ID:-1000}'
- 'TZ=${TIMEZONE:-Europe/Moscow}'
#- TRANSMISSION_WEB_HOME= #optional
- 'USER=${AUTH_USER}'
- 'PASS=${AUTH_PASSWORD}'
#- WHITELIST= #optional
- 'PEERPORT=${P2P_PORT:-6882}'
#- HOST_WHITELIST= #optional
env_file: '.env'
volumes:
- '${DIR_CONFIG:-./config}:/config'
- '${DIR_DOWNLOAD:-./download}:/downloads'
# Separate download cache directory in case you store unfinished torrents on SSD
# Use with `"incomplete-dir-enabled": true` in the settings.json. This is `incomplete-dir` parameter.
- '${DIR_TMP_DOWNLOAD:-/dev/null}:${DIR_TMP_DOWNLOAD:-/dev/null}'
- '${DIR_WATCH:-./watch}:/watch'
network_mode: '${NETWORK_MODE:-bridge}'
ports:
- '${WEB_PORT:-9091}:${WEB_PORT:-9091}'
- '${P2P_PORT:-51413}:${P2P_PORT:-51413}'
- '${P2P_PORT:-51413}:${P2P_PORT:-51413}/udp'
restart: unless-stopped
logging:
driver: 'json-file'
options:
max-size: '${LOG_MAX_SIZE:-5m}'
max-file: '${LOG_MAX_FILE:-5}'

2
transmission/download/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
/*
!/.gitignore

2
transmission/watch/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
/*
!/.gitignore