Different tika port since 9998 is already in use

This commit is contained in:
Kikimanox
2022-08-31 15:42:19 +02:00
parent f16c78bbdc
commit 500e5aa2a5
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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"