added Torrserver

This commit is contained in:
Alex Z 2021-11-12 01:56:24 +03:00
parent 014f391a2d
commit 0a1c2baa73
5 changed files with 58 additions and 1 deletions

View File

@ -6,6 +6,7 @@
* improved `Makefile`s. * improved `Makefile`s.
* fixed `nextcloud` images. * fixed `nextcloud` images.
* splited `nextcloud` images to `pure` and `patched` (`zipstreamer`) tags. * splited `nextcloud` images to `pure` and `patched` (`zipstreamer`) tags.
* added `torrserver`
* `september` * `september`
* added [ArekSredzki/electron-release-server](https://github.com/ArekSredzki/electron-release-server/) support. * added [ArekSredzki/electron-release-server](https://github.com/ArekSredzki/electron-release-server/) support.
* fully reworked `teamcity-agent` images. * fully reworked `teamcity-agent` images.

View File

@ -1,4 +1,6 @@
VERSION = "2021.11.01" VERSION = "2021.11.12"
AUTHOR = "EpicMorg"
MODIFIED = "AlexZ"
DOCKER_SCAN_SUGGEST = false DOCKER_SCAN_SUGGEST = false
all: app all: app
@ -121,6 +123,8 @@ ecosystem-images:
cd `pwd`/linux/ecosystem/apache2/php7.4 && pwd && make cd `pwd`/linux/ecosystem/apache2/php7.4 && pwd && make
cd `pwd`/linux/ecosystem/testrail && pwd && make cd `pwd`/linux/ecosystem/testrail && pwd && make
cd `pwd`/linux/ecosystem/torrserver && pwd && make
cd `pwd`/linux/ecosystem/postgres/latest && pwd && make cd `pwd`/linux/ecosystem/postgres/latest && pwd && make
cd `pwd`/linux/ecosystem/postgres/8.2 && pwd && make cd `pwd`/linux/ecosystem/postgres/8.2 && pwd && make

View File

@ -0,0 +1,27 @@
FROM epicmorg/edge
#ARG TORRSERVER_LINK=https://releases.yourok.ru/torr/server/TorrServer-linux-amd64
ARG TORRSERVER_LINK=https://github.com/YouROK/TorrServer/releases/latest/download/TorrServer-linux-amd64
WORKDIR /opt
ADD $TORRSERVER_LINK torrServer
RUN \
apt-get update && \
apt-get upgrade -y && \
export GODEBUG=madvdontneed=1 && \
chmod +x torrServer
ENV UI_PORT 8090
ENV UPNP_PORT 32000
EXPOSE \
$UI_PORT \
$UPNP_PORT \
$UPNP_PORT/udp
VOLUME \
/config
ENTRYPOINT /opt/torrServer --port $UI_PORT -path /config

View File

@ -0,0 +1,19 @@
all: app
app:
make build
make deploy
make clean
build:
docker-compose build --compress --parallel
deploy:
docker-compose push
clean:
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
docker system prune -af

View File

@ -0,0 +1,6 @@
version: '3.9'
services:
app:
image: "epicmorg/torrserver:latest"
build:
context: .