1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-04 10:34:49 +02:00
dockerfiles/splash/docker-compose.yml
2019-04-20 01:23:05 +08:00

22 lines
586 B
YAML

version: '2'
services:
splash:
image: scrapinghub/splash:3.3.1
command: --maxrss 2048 --max-timeout 300 --disable-lua-sandbox
volumes:
- ./data/filters:/etc/splash/filters
- ./data/js-profiles:/etc/splash/js-profiles
- ./data/lua_modules:/etc/splash/lua_modules
- ./data/proxy-profiles:/etc/splash/proxy-profiles
mem_limit: 2560M
restart: unless-stopped
haproxy:
image: haproxy:alpine
ports:
- "8050:8050"
volumes:
- ./data/haproxy:/usr/local/etc/haproxy
depends_on:
- splash
restart: unless-stopped