What is Splash?
example - docker-stack.yml - splash - proxy-profiles - default.ini
1.1 Create file docker-stack.yml
version: '3' services: torprivoxy: image: rdsubhas/tor-privoxy-alpine networks: - network1 ports: - 8118:9050 splash: image: scrapinghub/splash networks: - network1 ports: - 5023:8050 volumes: - ./splash/proxy-profiles:/etc/splash/proxy-profiles:ro networks: network1: network2:
1.2 Create directory /splash/proxy-profiles/ and create file /splash/proxy-profiles/default.ini
[proxy] host=torprivoxy port=8118
1.3 Deploy stack
docker stack deploy --compose-file docker-stack.yml example
If everything is well configured, then Splash will render http://22.214.171.124 using Tor/Privoxy as a proxy server.