jodconverter / docker-image-jodconverter-examples

Docker image with jodconverter + libreoffice for document conversion through a REST api
https://github.com/sbraconnier/jodconverter
MIT License
72 stars 32 forks source link

Missing /etc/app/application.properties triggers startup failure #18

Closed AlwinEgger closed 2 years ago

AlwinEgger commented 2 years ago

Running the application without /etc/app/application.properties volume triggers a startup failure.

docker run eugenmayer/jodconverter:rest
[...]
***************************
APPLICATION FAILED TO START
***************************

Description:

Config data location '/etc/app/' does not exist
AlwinEgger commented 2 years ago

Pull Request https://github.com/EugenMayer/docker-image-jodconverter/pull/19

AlwinEgger commented 2 years ago

Workaround for Kubernetes:

Add an args parameter containing something unused (empty args: [] does not work as it gets omitted).

    spec:
      containers:
        - name: cool-pdf-converter
          image: eugenmayer/jodconverter:rest
          args: ['noop']
EugenMayer commented 2 years ago

Thank you for reporting this, fixed with the PR