-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose-custom-data.yml
104 lines (103 loc) · 3.64 KB
/
docker-compose-custom-data.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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
version: "3.9"
services:
db:
image: mysql:8.0
container_name: limelight-mysql
restart: always
command: ${MYSQL_OPTIONS}
volumes:
- ${MYSQL_DATA_DIRECTORY}:/var/lib/mysql
- ./database_scripts/install:/docker-entrypoint-initdb.d
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
MYSQL_USER: ${MYSQL_USER}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
MYSQL_DATABASE: limelight
spectr:
image: mriffle/spectr:1.5.0
container_name: limelight-spectr
restart: always
environment:
SPECTRAL_STORAGE_MAX_SCAN_BATCH_SIZE: ${SPECTR_MAX_SCAN_BATCH_SIZE:-200}
volumes:
- ${SPECTR_UPLOAD_DIRECTORY}:/data/upload
- ${SPECTR_STORAGE_DIRECTORY}:/data/storage
- ${LIMELIGHT_UPLOAD_DIRECTORY}:/data/limelight_upload
file-object-store:
image: mriffle/file-object-store:1
container_name: limelight-file-object-store
restart: always
volumes:
- ${FILE_OBJECT_STORE_DIR}:/data/fob
blib-export:
image: mriffle/limelight-export-blib-service:1
container_name: limelight-export-blib-service
restart: always
labels:
- traefik.enable=false
environment:
SPECTR_GET_SCAN_DATA_URL: http://spectr:8080/spectral_storage_get_data/query/getScanDataFromScanNumbers_JSON
WEBAPP_PORT: 3434
APP_CLEAN_WORKDIR: ${BLIB_APP_CLEAN_WORKDIR:-yes}
SPECTR_BATCH_SIZE: ${SPECTR_MAX_SCAN_BATCH_SIZE:-200}
volumes:
- ${BLIB_DESTINATION_DIR}:/data/app/blibdir
- ${BLIB_WORK_DIR}:/data/app/workdir
feature-detection:
image: mriffle/limelight-feature-detection-service:1
container_name: limelight-feature-detection-service
restart: always
labels:
- traefik.enable=false
environment:
SPECTR_GET_SCAN_DATA_URL: http://spectr:8080/spectral_storage_get_data/query/getScanDataFromScanNumbers_JSON
SPECTR_GET_SCAN_NUMBERS_URL: http://spectr:8080/spectral_storage_get_data/query/getScanNumbers_JSON
SPECTR_BATCH_SIZE: ${SPECTR_MAX_SCAN_BATCH_SIZE:-200}
WEBAPP_PORT: 3434
APP_CLEAN_WORKDIR: ${FEATURE_DETECTION_CLEAN_WORKDIR:-yes}
HARDKLOR_TIMEOUT: ${HARDKLOR_TIMEOUT:-0}
volumes:
- ${FEATURE_DETECTION_FINALDIR:/data/app/finaldir
- ${FEATURE_DETECTION_WORKDIR}:/data/app/workdir
importer:
image: mriffle/limelight-importer:6
container_name: limelight-importer
restart: always
depends_on:
- db
volumes:
- ${LIMELIGHT_UPLOAD_DIRECTORY}:/data/limelight_upload
- ${FEATURE_DETECTION_FINALDIR}:/data/feature_detection/finaldir
environment:
LIMELIGHT_DB_USER: ${MYSQL_USER}
LIMELIGHT_DB_PASSWORD: ${MYSQL_PASSWORD}
LIMELIGHT_DB_HOST_ADDRESS: db
LIMELIGHT_DB_HOST_PORT: 3306
LIMELIGHT_DB_NAME: limelight
LIMELIGHT_JAVA_EXECUTE_PARAMS: ${IMPORTER_JAVA_OPTIONS}
LIMELIGHT_FEATURE_DETECTION_PROGRAM_JAVA_EXECUTE_PARAMS: ${FEATURE_DETECTION_IMPORTER_JAVA_OPTIONS}
limelight:
image: mriffle/limelight-webapp:6
container_name: limelight-webapp
restart: always
depends_on:
- db
volumes:
- ${LIMELIGHT_UPLOAD_DIRECTORY}:/data/limelight_upload
- ${BLIB_DESTINATION_DIR}:/data/limelight_downloads/blib_exports
- ${LIMELIGHT_CACHE_DIR}:/data/limelight_cache
environment:
LIMELIGHT_MYSQL_USER: ${MYSQL_USER}
LIMELIGHT_MYSQL_PASSWORD: ${MYSQL_PASSWORD}
LIMELIGHT_CACHED_WS_RESP_DATA_DIR: /data/limelight_cache
ports:
- 8080:8080
smtp:
image: bytemark/smtp
container_name: limelight-smtp
restart: always
environment:
RELAY_HOST: ${SMTP_HOST}
RELAY_PORT: ${SMTP_PORT}
RELAY_USERNAME: ${SMTP_USERNAME}
RELAY_PASSWORD: ${SMTP_PASSWORD}