Browse Source

Replace the original torrent client

staging
David Ludwig 4 years ago
parent
commit
86d0341499
4 changed files with 31 additions and 7 deletions
  1. +3
    -0
      .gitmodules
  2. +2
    -2
      docker-compose.dev.yml
  3. +25
    -5
      docker-compose.yml
  4. +1
    -0
      torrent-client-v2

+ 3
- 0
.gitmodules View File

@ -13,3 +13,6 @@
[submodule "vpn"]
path = vpn
url = ssh://git@git.dlii.tech:222/Autoplex/vpn.git
[submodule "torrent-client-v2"]
path = torrent-client-v2
url = ssh://git@git.dlii.tech:222/Autoplex/torrent-client-v2.git

+ 2
- 2
docker-compose.dev.yml View File

@ -31,9 +31,9 @@ services:
torrent_client:
build:
target: base
target: base-dev
volumes:
- ./torrent-client:/app
- ./torrent-client-v2:/app
# ulimits:
# core:
# hard: -1


+ 25
- 5
docker-compose.yml View File

@ -63,14 +63,36 @@ services:
volumes:
- var:/var/autoplex
# torrent_client:
# build:
# context: ./torrent-client
# depends_on:
# - "database"
# - "vpn"
# env_file:
# - ./torrent-client/.env
# healthcheck:
# test: ["CMD", "ping", "-q", "-c1", "google.com"]
# interval: 5m
# timeout: 10s
# retries: 3
# start_period: 5m
# network_mode: service:vpn
# restart: unless-stopped
# secrets:
# - mysql_root_password
# user: ${UID}:${GID}
# volumes:
# - ./.volumes/storage:/storage/default
# - var:/var/autoplex
torrent_client:
build:
context: ./torrent-client
context: ./torrent-client-v2
depends_on:
- "database"
- "vpn"
env_file:
- ./torrent-client/.env
- ./torrent-client-v2/.env
healthcheck:
test: ["CMD", "ping", "-q", "-c1", "google.com"]
interval: 5m
@ -79,8 +101,6 @@ services:
start_period: 5m
network_mode: service:vpn
restart: unless-stopped
secrets:
- mysql_root_password
user: ${UID}:${GID}
volumes:
- ./.volumes/storage:/storage/default


+ 1
- 0
torrent-client-v2

@ -0,0 +1 @@
Subproject commit bffe12462bcc5c9ee0f2c7dfb15bc74ee96ac968

Loading…
Cancel
Save