findFilms/docker-compose.yml

81 lines
1.9 KiB
YAML

services:
movie-search:
build: .
container_name: movie-search
env_file:
- .env
environment:
- HOST=0.0.0.0
- PORT=8000
- TORAPI_URL=http://torrent-api:8000
- TORRENT_ADD_URL=http://host.docker.internal:8088
- QBITTORRENT_USERNAME=vrubelroman
- QBITTORRENT_PASSWORD=vrubel07
- QBITTORRENT_HOST=host.docker.internal
- QBITTORRENT_PORT=8082
ports:
- "0.0.0.0:8089:8000"
restart: unless-stopped
extra_hosts:
- "host.docker.internal:host-gateway"
networks:
- torrentvideo_default
- default
torapi-search:
image: lifailon/torapi:latest
container_name: TorAPI-Search
environment:
- USERNAME=
- PASSWORD=
ports:
- "8443:8443"
restart: unless-stopped
networks:
- torrentvideo_default
- default
torapi-qbittorrent:
image: lifailon/torapi:latest
container_name: TorAPI-qBittorrent
environment:
- USERNAME=vrubelroman
- PASSWORD=vrubel07
- PROXY_ADDRESS=host.docker.internal
- PROXY_PORT=8082
ports:
- "8444:8443"
restart: unless-stopped
extra_hosts:
- "host.docker.internal:host-gateway"
networks:
- torrentvideo_default
- default
telegram-bot:
build:
context: .
dockerfile: Dockerfile.telegram
container_name: telegram-bot-findFilms
env_file:
- .env
environment:
- TORRENT_ADD_URL=http://host.docker.internal:8088
- QBITTORRENT_USERNAME=vrubelroman
- QBITTORRENT_PASSWORD=vrubel07
- QBITTORRENT_HOST=host.docker.internal
- QBITTORRENT_PORT=8082
restart: unless-stopped
extra_hosts:
- "host.docker.internal:host-gateway"
networks:
- torrentvideo_default
- default
depends_on:
- movie-search
- torapi-search
- torapi-qbittorrent
networks:
torrentvideo_default:
external: true