scrapy-plugins / scrapy-splash

Scrapy+Splash for JavaScript integration
BSD 3-Clause "New" or "Revised" License
3.15k stars 450 forks source link

Run splash using docker compose with args like --max-timeout --disable-lua-sandbox #221

Closed largomath2010 closed 4 years ago

largomath2010 commented 5 years ago

Hi, it's normal to run splash like:

docker run -p 8050:8050 scrapinghub/splash --max-timeout 3600 --disable-lua-sandbox

Now I move to docker-composer v3. How can i add those args like max-timeout, disable-lua-sandbox.

My current code that not working:

splash: image: scrapinghub/splash command: bash "splash --max-timeout 3600"

Thanks.

Gallaecio commented 5 years ago

Please, use StackOverflow to ask this type of questions.