forked from admin/reverseproxy
28 lines
622 B
YAML
28 lines
622 B
YAML
version: '3.8'
|
|
services:
|
|
reverseproxy:
|
|
build: .
|
|
image: registry.rudolf.keenetic.link/torr_cache:${version}
|
|
volumes:
|
|
- data:/app/cache:rw
|
|
ports:
|
|
- "8080:8080"
|
|
environment:
|
|
- PYTHONUNBUFFERED=1
|
|
command: ["python", "proxy.py", "http://95.142.46.84:5665"]
|
|
fileserver:
|
|
image: python:3.11-slim
|
|
working_dir: /data
|
|
volumes:
|
|
- data:/data:ro
|
|
command: ["python3", "-m", "http.server", "8888"]
|
|
ports:
|
|
- "8888:8888"
|
|
volumes:
|
|
data:
|
|
driver: local
|
|
driver_opts:
|
|
type: nfs
|
|
o: addr=192.168.1.96
|
|
device: :/media/DATA/runtime/torrCacher
|