Different tika port since 9998 is already in use
This commit is contained in:
+2
-2
@@ -7,7 +7,7 @@ services:
|
||||
ports:
|
||||
- 8080:8080
|
||||
volumes: # when pushing to server, remove the first dot here in front of /mnt
|
||||
- /mnt/ssd/ds_ftp/classla_OS2022:/usr/src/app/classla_OS2022
|
||||
- ./mnt/ssd/ds_ftp/classla_OS2022:/usr/src/app/classla_OS2022
|
||||
- ./swagger_server/classla/classla_resources:/root/classla_resources
|
||||
environment:
|
||||
- PYTHONUNBUFFERED=1
|
||||
@@ -15,4 +15,4 @@ services:
|
||||
image: apache/tika
|
||||
restart: always
|
||||
ports:
|
||||
- 9998:9998
|
||||
- 9999:9999
|
||||
|
||||
@@ -12,7 +12,7 @@ import xml.etree.ElementTree as ET
|
||||
from PyPDF2 import PdfReader
|
||||
from swagger_server.classla import cl_utils
|
||||
|
||||
tika_server = "http://tika:9998/tika"
|
||||
tika_server = "http://tika:9999/tika"
|
||||
|
||||
# endpoint below to be used only for development purposes (don't need to run docker)
|
||||
# tika_server = "http://rsdo.lhrs.feri.um.si:9998/tika"
|
||||
|
||||
Reference in New Issue
Block a user