|
|
@ -63,14 +63,35 @@ 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: |
|
|
|
- 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,33 +100,11 @@ services: |
|
|
|
# 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-v2 |
|
|
|
depends_on: |
|
|
|
- "vpn" |
|
|
|
env_file: |
|
|
|
- ./torrent-client-v2/.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 |
|
|
|
user: ${UID}:${GID} |
|
|
|
volumes: |
|
|
|
- ./.volumes/storage:/storage/default |
|
|
|
- var:/var/autoplex |
|
|
|
|
|
|
|
database: |
|
|
|
image: mysql |
|
|
|
command: --default-authentication-plugin=mysql_native_password |
|
|
@ -146,7 +145,6 @@ services: |
|
|
|
- label:disable |
|
|
|
stdin_open: true |
|
|
|
tty: true |
|
|
|
# user: ${UID}:${GID} |
|
|
|
volumes: |
|
|
|
- /dev/net:/dev/net:z |
|
|
|
- ./.volumes/vpn:/vpn |
|
|
|