blob: b8e16e528552a846858bc05b6fd852844a81c215 (
plain) (
blame)
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
|
version: "3.7"
services:
devourer:
image: devourer
build:
context: .
networks:
- mainnet
- tikanet
depends_on:
- tika
- cargo
ports:
- "9009:80"
environment:
- TIKA_SERVER_ENDPOINT=http://tika:9998
- AUDIO_DUMP_DIR=/tmp
- WIKI_SEARCH_URL=https://en.wikipedia.org/w/api.php
- SERVER_DEPLOYMENT_TYPE=deployment
- TIKA_CLIENT_ONLY=True
cap_drop:
- ALL
entrypoint: ["/docker-entrypoint.sh"]
volumes:
- devourer-nltk-data:/root/nltk_data/
tika:
image: apache/tika:2.0.0
networks:
- tikanet
cap_drop:
- ALL
cargo:
image: devourer-cargo
build:
context: ./devourer
networks:
- mainnet
environment:
- SERVER_PORT=8080
- SERVER_VAULT=/cargo-vault
volumes:
- cargo-vault:/cargo-vault
cap_drop:
- ALL
cap_add:
- NET_BIND_SERVICE
entrypoint: ["/cargo/cargo.py"]
networks:
mainnet:
tikanet:
volumes:
cargo-vault:
devourer-nltk-data:
|