mirror of https://github.com/CIRCL/lookyloo
commit
a4b5cd7bfe
|
@ -1,13 +1,20 @@
|
||||||
version: '3'
|
version: '3'
|
||||||
services:
|
services:
|
||||||
|
|
||||||
redis:
|
redis-cache:
|
||||||
image: redis
|
image: redis
|
||||||
working_dir: /cache
|
working_dir: /cache
|
||||||
command: ./cache.conf --daemonize no
|
command: ./cache.conf --daemonize no
|
||||||
volumes:
|
volumes:
|
||||||
- ./cache:/cache
|
- ./cache:/cache
|
||||||
|
|
||||||
|
redis-indexing:
|
||||||
|
image: redis
|
||||||
|
working_dir: /indexing
|
||||||
|
command: ./indexing.conf --daemonize no
|
||||||
|
volumes:
|
||||||
|
- ./indexing:/indexing
|
||||||
|
|
||||||
splash:
|
splash:
|
||||||
image: "scrapinghub/splash:3.5.0"
|
image: "scrapinghub/splash:3.5.0"
|
||||||
ports:
|
ports:
|
||||||
|
@ -25,16 +32,17 @@ services:
|
||||||
- /bin/sh
|
- /bin/sh
|
||||||
- -c
|
- -c
|
||||||
- |
|
- |
|
||||||
poetry run rebuild_caches.py
|
poetry run start
|
||||||
poetry run async_scrape.py &
|
tail -F ./LICENSE
|
||||||
poetry run start_website.py
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./cache:/lookyloo/cache
|
- ./cache:/lookyloo/cache
|
||||||
|
- ./indexing:/lookyloo/indexing
|
||||||
- ./scraped:/lookyloo/scraped
|
- ./scraped:/lookyloo/scraped
|
||||||
- ./user_agents:/lookyloo/user_agents
|
- ./user_agents:/lookyloo/user_agents
|
||||||
- ./config:/lookyloo/config
|
- ./config:/lookyloo/config
|
||||||
ports:
|
ports:
|
||||||
- "5100:5100"
|
- "5100:5100"
|
||||||
links:
|
links:
|
||||||
- "redis"
|
- "redis-cache"
|
||||||
- "splash"
|
- "redis-indexing"
|
||||||
|
- "splash"
|
Loading…
Reference in New Issue