mirror of https://github.com/CIRCL/lookyloo
40 lines
803 B
YAML
40 lines
803 B
YAML
version: '3'
|
|
services:
|
|
|
|
redis:
|
|
image: redis
|
|
working_dir: /cache
|
|
command: ./cache.conf --daemonize no
|
|
volumes:
|
|
- ./cache:/cache
|
|
|
|
splash:
|
|
image: "scrapinghub/splash"
|
|
ports:
|
|
- "8050:8050"
|
|
- "5023:5023"
|
|
command: --disable-private-mode
|
|
|
|
lookyloo:
|
|
build: .
|
|
working_dir: /lookyloo
|
|
tty: true
|
|
environment:
|
|
- SPLASH_URL_DOCKER=http://splash:8050
|
|
command:
|
|
- /bin/sh
|
|
- -c
|
|
- |
|
|
poetry run async_scrape.py &
|
|
poetry run start_website.py
|
|
volumes:
|
|
- ./cache:/lookyloo/cache
|
|
- ./scraped:/lookyloo/scraped
|
|
- ./user_agents:/lookyloo/user_agents
|
|
- ./config:/lookyloo/config
|
|
ports:
|
|
- "5100:5100"
|
|
links:
|
|
- "redis"
|
|
- "splash"
|