feat: add TOR support
This commit is contained in:
19
README.md
19
README.md
@@ -10,22 +10,11 @@ Este proyecto automatiza el envio de denuncias de emisiones ilegales de contenid
|
|||||||
|
|
||||||
### 🚫 NUNCA ejecutes este comando:
|
### 🚫 NUNCA ejecutes este comando:
|
||||||
```bash
|
```bash
|
||||||
docker run -e USE_MOCK_DATA=true jorgeteixe/laliga-denuncias:latest
|
docker run -e USE_MOCK_DATA=true -e USE_TOR=true git.teixe.es/teixe/laliga-denuncias:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
**¿Por qué?** Este comando genera y envía denuncias falsas automáticamente al sitio oficial de LaLiga. Solo debe usarse en entornos de desarrollo con URLs de prueba.
|
**¿Por qué?** Este comando genera y envía denuncias falsas automáticamente al sitio oficial de LaLiga. Solo debe usarse en entornos de desarrollo con URLs de prueba.
|
||||||
|
|
||||||
### 🔐 Anonimato con Tor (Opcional)
|
|
||||||
El sistema incluye soporte para proxy Tor para mayor privacidad. Para habilitarlo:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# En tu archivo .env
|
|
||||||
USE_TOR=true
|
|
||||||
TOR_PROXY=socks5://127.0.0.1:9050
|
|
||||||
```
|
|
||||||
|
|
||||||
**Nota**: Asegurate de tener Tor ejecutandose en tu sistema antes de habilitar esta opcion.
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 🎯 Proposito
|
## 🎯 Proposito
|
||||||
@@ -109,7 +98,7 @@ TOR_PROXY=socks5://127.0.0.1:9050
|
|||||||
docker run -v $(pwd)/denuncias.yml:/app/denuncias.yml \
|
docker run -v $(pwd)/denuncias.yml:/app/denuncias.yml \
|
||||||
-v $(pwd)/images:/app/images \
|
-v $(pwd)/images:/app/images \
|
||||||
-v $(pwd)/.env:/app/.env \
|
-v $(pwd)/.env:/app/.env \
|
||||||
jorgeteixe/laliga-denuncias:latest
|
git.teixe.es/teixe/laliga-denuncias:latest
|
||||||
|
|
||||||
# O construir localmente si prefieres
|
# O construir localmente si prefieres
|
||||||
docker build -t laliga-denuncias .
|
docker build -t laliga-denuncias .
|
||||||
@@ -165,7 +154,7 @@ imagen: "" # No subir imagen
|
|||||||
docker run -v $(pwd)/denuncias.yml:/app/denuncias.yml \
|
docker run -v $(pwd)/denuncias.yml:/app/denuncias.yml \
|
||||||
-v $(pwd)/images:/app/images \
|
-v $(pwd)/images:/app/images \
|
||||||
-e HEADLESS=false \
|
-e HEADLESS=false \
|
||||||
jorgeteixe/laliga-denuncias:latest
|
git.teixe.es/teixe/laliga-denuncias:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
### Modo Prueba (SOLO PARA DESARROLLO)
|
### Modo Prueba (SOLO PARA DESARROLLO)
|
||||||
@@ -173,7 +162,7 @@ docker run -v $(pwd)/denuncias.yml:/app/denuncias.yml \
|
|||||||
# ⚠️ NUNCA usar en produccion contra LaLiga real
|
# ⚠️ NUNCA usar en produccion contra LaLiga real
|
||||||
docker run -e USE_MOCK_DATA=true \
|
docker run -e USE_MOCK_DATA=true \
|
||||||
-e TARGET_URL=http://localhost:3000 \
|
-e TARGET_URL=http://localhost:3000 \
|
||||||
jorgeteixe/laliga-denuncias:latest
|
git.teixe.es/teixe/laliga-denuncias:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
## 🔍 Que Hace el Script
|
## 🔍 Que Hace el Script
|
||||||
|
@@ -5,7 +5,7 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
laliga-denuncias:
|
laliga-denuncias:
|
||||||
image: jorgeteixe/laliga-denuncias:latest
|
image: git.teixe.es/teixe/laliga-denuncias:latest
|
||||||
container_name: laliga-denuncias
|
container_name: laliga-denuncias
|
||||||
network_mode: "service:tor-proxy"
|
network_mode: "service:tor-proxy"
|
||||||
volumes:
|
volumes:
|
||||||
|
Reference in New Issue
Block a user