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
|
||||
CHROMEDP_DISABLE_GPU: true
|
||||
CHROMEDP_NO_SANDBOX: true
|
||||
volumes:
|
||||
- ./.env:/app/.env:ro
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- scraper-network
|
||||
# Add resource limits to prevent runaway chrome instances
|
||||
- proxy
|
||||
restart: unless-stopped
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
|
|
@ -40,10 +37,6 @@ services:
|
|||
memory: 512M
|
||||
cpus: "0.5"
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
driver: local
|
||||
|
||||
networks:
|
||||
scraper-network:
|
||||
driver: bridge
|
||||
proxy:
|
||||
external: true
|
||||
|
|
|
|||
Loading…
Reference in a new issue