|
|
@ -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: |
|
|
|