-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
57 lines (46 loc) · 890 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
49
50
51
52
53
54
55
56
57
version: "3.1"
services:
test_postgres:
image: postgres:13
environment:
POSTGRES_USER: hubgrep
POSTGRES_PASSWORD: hubgrep
POSTGRES_DB: hubgrep
networks:
- hubgrep_indexer
postgres:
image: postgres:13
env_file: .env
networks:
- hubgrep_indexer
ports:
- 5432:5432
redis:
image: redis
ports:
- 6379:6379
networks:
- hubgrep_indexer
hubgrep_indexer:
build: .
volumes:
- ./:/var/task
- ./results:/var/results
restart: "${RESTART:-no}"
# uplink port to host
ports:
- 8081:8080
env_file: .env
command: >
bash -ic " \
pip install -r requirements.txt
flask run --host 0.0.0.0 --port 8080
"
tty: true
networks:
- hubgrep_indexer
- hubgrep
networks:
hubgrep_indexer:
hubgrep:
name: hubgrep