Browse Source

Add Torrent Web UI. Fix minor mistakes in Docker files

staging
David Ludwig 4 years ago
parent
commit
429df932bc
4 changed files with 37 additions and 5 deletions
  1. +4
    -1
      .gitmodules
  2. +12
    -2
      docker-compose.dev.yml
  3. +20
    -2
      docker-compose.yml
  4. +1
    -0
      torrent-webui

+ 4
- 1
.gitmodules View File

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

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

@ -1,14 +1,24 @@
version: "3.9"
services:
torrent:
torrent_webui:
build:
target: base
ports:
- 3000:3000
volumes:
- ./torrent-webui:/app
entrypoint: "/bin/sh"
tty: true
torrent_client:
build:
target: base
ports:
- 9229:9229
volumes:
- ./torrent-client:/app
ulimits:
# ulimits:
# core:
# hard: -1
# soft: -1


+ 20
- 2
docker-compose.yml View File

@ -1,7 +1,23 @@
version: "3.9"
services:
torrent:
torrent_webui:
build:
context: ./torrent-webui
depends_on:
- "database"
- "torrent_client"
env_file:
- ./torrent-webui/.env
links:
- "database"
- "torrent_client"
ports:
- 3100:3100
secrets:
- mysql_root_password
torrent_client:
build:
context: ./torrent-client
depends_on:
@ -10,6 +26,8 @@ services:
- ./torrent-client/.env
links:
- "database"
# ports:
# - 3000:3000
secrets:
- mysql_root_password
@ -31,7 +49,7 @@ services:
secrets:
mysql_root_password:
file: ./.passwords/mysql_root_password
file: ./.secrets/mysql_root_password
volumes:
autoplex:


+ 1
- 0
torrent-webui

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

Loading…
Cancel
Save