mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-25 22:25:40 +03:00
added Torrserver
This commit is contained in:
parent
014f391a2d
commit
0a1c2baa73
@ -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.
|
||||||
|
6
Makefile
6
Makefile
@ -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
|
||||||
@ -122,6 +124,8 @@ ecosystem-images:
|
|||||||
|
|
||||||
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
|
||||||
cd `pwd`/linux/ecosystem/postgres/8.3 && pwd && make
|
cd `pwd`/linux/ecosystem/postgres/8.3 && pwd && make
|
||||||
|
27
linux/ecosystem/torrserver/Dockerfile
Normal file
27
linux/ecosystem/torrserver/Dockerfile
Normal 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
|
19
linux/ecosystem/torrserver/Makefile
Normal file
19
linux/ecosystem/torrserver/Makefile
Normal 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
|
6
linux/ecosystem/torrserver/docker-compose.yml
Normal file
6
linux/ecosystem/torrserver/docker-compose.yml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: "epicmorg/torrserver:latest"
|
||||||
|
build:
|
||||||
|
context: .
|
Loading…
Reference in New Issue
Block a user