maybe this?

This commit is contained in:
Kikimanox
2022-08-31 17:33:09 +02:00
parent cf8e217c82
commit 08711f38f9
+7 -1
View File
@@ -6,15 +6,21 @@ services:
image: flask-server image: flask-server
ports: ports:
- 8080:8080 - 8080:8080
- 80:80
volumes: # when pushing to server, remove the first dot here in front of /mnt 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 - ./swagger_server/classla/classla_resources:/root/classla_resources
environment: environment:
- PYTHONUNBUFFERED=1 - PYTHONUNBUFFERED=1
networks:
- host
tika2: tika2:
image: apache/tika:1.28.4-full image: apache/tika:1.28.4-full
entrypoint: ["/bin/sh", "-c", "java -jar /tika-server-1.28.4.jar -h 0.0.0.0 -p 9999"] entrypoint: ["/bin/sh", "-c", "java -jar /tika-server-1.28.4.jar -h 0.0.0.0 -p 9999"]
restart: always restart: always
ports: ports:
- 9999:9999 - 9999:9999
networks:
- host
networks:
host: