-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
89 lines (71 loc) · 1.91 KB
/
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
version: "3.3"
services:
# Imixs-ML-spaCy Service
imixs-ml-spacy:
image: imixs/imixs-ml-spacy
environment:
PYTHONUNBUFFERED: 1
TZ: "Europe/Berlin"
MODEL_LANGUAGE: "de"
#MODEL_PATH: "models/invoice-de-0.0.3/"
MODEL_PATH: "models/invoice-de-1.0.0/"
ports:
- "8000:8000"
volumes:
- ~/git/imixs-ml/imixs-ml-spacy/models/:/usr/src/app/models/
# Imixs-ML API sevice
imixs-ml-training:
image: imixs/imixs-ml-training
environment:
TZ: "Europe/Berlin"
TIKA_SERVICE_ENDPONT: "http://tika:9998/tika"
#TIKA_OCR_MODE: "PDF_ONLY"
TIKA_OCR_MODE: "MIXED"
# Payara-Micor ENV
MP_OPENAPI_SERVERS: "http://localhost:8081"
ports:
- "8081:8080"
- "9009:9009"
# OCR Service
tika:
image: imixs/tika
environment:
TZ: "Europe/Berlin"
#TIKA_CONFIG: "/tika-config.xml"
ports:
- "9998:9998"
#volumes:
# - ~/git/imixs-ml/imixs-ml-api/src/docker/configuration/tika/tika-config.xml:/tika-config.xml
# Imixs-Documents db
imixs-documents-db:
image: postgres:9.6.1
environment:
POSTGRES_PASSWORD: adminadmin
POSTGRES_DB: office
volumes:
- dbdata:/var/lib/postgresql/data
# Imixs-Documents app
imixs-documents-app:
image: imixs/imixs-documents
depends_on:
- imixs-documents-db
environment:
DEBUG: "true"
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "adminadmin"
POSTGRES_CONNECTION: "jdbc:postgresql://imixs-documents-db/office"
TZ: "Europe/Berlin"
ASYNCEVENT_PROCESSOR_ENABLED: "true"
TIKA_SERVICE_MODE: "model"
TIKA_SERVICE_ENDPONT: "http://tika:9998/tika"
TIKA_OCR_MODE: "MIXED"
ML_API_ENDPOINT: "http://imixs-ml-spacy:8000/analyse/"
ports:
- "8080:8080"
- "8787:8787"
imixsadmin:
image: imixs/imixs-admin
ports:
- "8888:8080"
volumes:
dbdata: