Refactor nftables, vpn and transmission configuration
This commit is contained in:
parent
465a5d2887
commit
dcbdfdc422
24 changed files with 292 additions and 192 deletions
25
files/transmission/Dockerfile
Normal file
25
files/transmission/Dockerfile
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
FROM alpine:latest
|
||||
|
||||
ENV TRANSMISSION_HOME=/app/
|
||||
|
||||
RUN apk add --no-cache --update transmission transmission-daemon
|
||||
|
||||
RUN mkdir --parents \
|
||||
/app/config/torrents \
|
||||
/app/config/resume \
|
||||
/app/config/blocklists \
|
||||
/app/downloads \
|
||||
/app/incomplete_downloads
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
VOLUME ["/app/config", "/app/downloads", "/app/incomplete_downloads"]
|
||||
|
||||
ENTRYPOINT /usr/bin/transmission-daemon \
|
||||
--config-dir /app/config \
|
||||
--log-level info \
|
||||
--foreground \
|
||||
--download-dir /app/downloads \
|
||||
--incomplete-dir /app/incomplete_downloads
|
||||
|
||||
EXPOSE 9091 51413/tcp 51413/udp
|
||||
Loading…
Add table
Add a link
Reference in a new issue