fixed docker-compose 2

This commit is contained in:
Elshimy Ziad Magdy Taha 2025-12-15 12:41:42 +05:00
parent 6f30edbce2
commit 4bbf4243c7

View file

@ -25,12 +25,9 @@ services:
# Chrome/Chromedp Configuration # Chrome/Chromedp Configuration
CHROMEDP_DISABLE_GPU: true CHROMEDP_DISABLE_GPU: true
CHROMEDP_NO_SANDBOX: true CHROMEDP_NO_SANDBOX: true
volumes:
- ./.env:/app/.env:ro
restart: unless-stopped
networks: networks:
- scraper-network - proxy
# Add resource limits to prevent runaway chrome instances restart: unless-stopped
deploy: deploy:
resources: resources:
limits: limits:
@ -40,10 +37,6 @@ services:
memory: 512M memory: 512M
cpus: "0.5" cpus: "0.5"
volumes:
postgres_data:
driver: local
networks: networks:
scraper-network: proxy:
driver: bridge external: true