improved config

This commit is contained in:
Julius Unverfehrt 2022-02-28 16:06:29 +01:00
parent 607e938f16
commit cb96b7943c

View File

@ -2,8 +2,7 @@ service:
logging_level: $LOGGING_LEVEL_ROOT|DEBUG # Logging level for service logger logging_level: $LOGGING_LEVEL_ROOT|DEBUG # Logging level for service logger
response: response:
save: True # file-to-storage upload save: True # file-to-storage upload
#extension: $RESPONSE_FILE_EXTENSION|".NER_ENTITIES.json.gz" # {.OBJECTS.json.gz | .NER_ENTITIES.json.gz} extension: $RESPONSE_FILE_EXTENSION|".NER_ENTITIES.json.gz" # {.OBJECTS.json.gz | .NER_ENTITIES.json.gz}
extension: $RESPONSE_FILE_EXTENSION|".OBJECTS.json.gz"
probing_webserver: probing_webserver:
host: $PROBING_WEBSERVER_HOST|"0.0.0.0" # Probe webserver address host: $PROBING_WEBSERVER_HOST|"0.0.0.0" # Probe webserver address
@ -37,8 +36,7 @@ storage:
backend: $STORAGE_BACKEND|s3 # The type of storage to use {s3, azure} backend: $STORAGE_BACKEND|s3 # The type of storage to use {s3, azure}
bucket: $STORAGE_BUCKET|"pyinfra-test-bucket" # The bucket / container to pull files specified in queue requests from bucket: $STORAGE_BUCKET|"pyinfra-test-bucket" # The bucket / container to pull files specified in queue requests from
#target_file_extension: $TARGET_FILE_EXTENSION|".TEXT.json.gz" # {.TEXT.json.gz | .ORIGIN.pdf.gz} Defines type of file to pull from storage target_file_extension: $TARGET_FILE_EXTENSION|".TEXT.json.gz" # {.TEXT.json.gz | .ORIGIN.pdf.gz} Defines type of file to pull from storage
target_file_extension: $TARGET_FILE_EXTENSION|".ORIGIN.pdf.gz"
s3: s3:
endpoint: $STORAGE_ENDPOINT|"http://127.0.0.1:9000" endpoint: $STORAGE_ENDPOINT|"http://127.0.0.1:9000"