lookyloo/docker-compose.yml

40 lines
845 B
YAML

version: '3'
services:
redis-cache:
image: redis
working_dir: /cache
command: ./cache.conf --daemonize no
volumes:
- ./cache:/cache
redis-indexing:
image: redis
working_dir: /indexing
command: ./indexing.conf --daemonize no
volumes:
- ./indexing:/indexing
lookyloo:
build: .
working_dir: /lookyloo
tty: true
command:
- /bin/sh
- -c
- |
poetry run start
tail -F ./LICENSE
volumes:
- ./cache:/lookyloo/cache
- ./indexing:/lookyloo/indexing
- ./scraped:/lookyloo/scraped
- ./discarded:/lookyloo/discarded_captures
- ./user_agents:/lookyloo/user_agents
- ./config:/lookyloo/config
ports:
- "5100:5100"
links:
- "redis-cache"
- "redis-indexing"