fixed docker-compose 2
This commit is contained in:
parent
6f30edbce2
commit
4bbf4243c7
1 changed files with 4 additions and 11 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue