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