lookyloo/docker-compose.yml

43 lines
979 B
YAML
Raw Normal View History

version: '3'
services:
2019-11-02 05:05:08 +01:00
redis-cache:
image: redis
2019-11-02 05:05:08 +01:00
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:
2019-11-02 05:05:08 +01:00
build: .
working_dir: /lookyloo
tty: true
command:
- /bin/sh
- -c
- |
poetry run start
tail -F ./LICENSE
2019-11-02 05:05:08 +01:00
volumes:
- ./cache:/lookyloo/cache
- ./indexing:/lookyloo/indexing
2019-11-02 05:05:08 +01:00
- ./scraped:/lookyloo/scraped
2023-03-06 14:48:59 +01:00
- ./archived_captures:/lookyloo/archived_captures
- ./discarded:/lookyloo/discarded_captures
2019-11-02 05:05:08 +01:00
- ./user_agents:/lookyloo/user_agents
- ./config:/lookyloo/config
- ./logs:/lookyloo/logs
2023-03-06 14:48:59 +01:00
- ./logs_web:/lookyloo/website/logs
2019-11-02 05:05:08 +01:00
ports:
- "5100:5100"
links:
- "redis-cache"
- "redis-indexing"