forked from Lookyloo/lookyloo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
48 lines (44 loc) · 1016 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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
splash:
image: "scrapinghub/splash:3.5.0"
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 start
tail -F ./LICENSE
volumes:
- ./cache:/lookyloo/cache
- ./indexing:/lookyloo/indexing
- ./scraped:/lookyloo/scraped
- ./user_agents:/lookyloo/user_agents
- ./config:/lookyloo/config
ports:
- "5100:5100"
links:
- "redis-cache"
- "redis-indexing"
- "splash"