Re: Run Tika-docker with custom config

2023-04-28 Thread שי ברק
I’m really new to Docker. How should my Dockerfile look like eventually? So far I have these lines: ‘’’ FROM apache/tika:2.7.0.1-full ADD tika-config.xml /tika-config.xml ‘’’ On Fri, 28 Apr 2023 at 18:44 Nick Burch wrote: > On Fri, 28 Apr 2023, שי ברק wrote: > > I don’t know if it’s possible

Re: Run Tika-docker with custom config

2023-04-28 Thread Nick Burch
On Fri, 28 Apr 2023, שי ברק wrote: I don’t know if it’s possible but I’m trying to avoid typing this ‘ –– config’ when I start the container. I wish to have all of these settings to be written inside the Dockerfile. Since you're doing your own custom docker container, you could override the

post request with shift_jis encoding and filename hint

2023-04-28 Thread Medea Springmeier
Hi, I want that Tika can detect a textfile with shift_jis as charEncoding. I found this one here: https://github.com/dadoonet/fscrawler/issues/400 (and there is also a ticket for the problem in the Jira of Tika: https://issues.apache.org/jira/browse/TIKA-2437) So, I put the filename also in my

Re: Run Tika-docker with custom config

2023-04-28 Thread שי ברק
I don’t know if it’s possible but I’m trying to avoid typing this ‘ –– config’ when I start the container. I wish to have all of these settings to be written inside the Dockerfile. On Fri, 28 Apr 2023 at 17:59 Nick Burch wrote: > On Fri, 28 Apr 2023, שי ברק wrote: > > Inside the container

Re: Run Tika-docker with custom config

2023-04-28 Thread Nick Burch
On Fri, 28 Apr 2023, שי ברק wrote: Inside the container probably - makes more sense to me In that case, create a custom Docker container that adds in your custom config to your Docker image, as per Konstantin's instructions: https://lists.apache.org/thread/l0od2b6tp6odyd661ftjqmkkf27o6hdl

Re: Run Tika-docker with custom config

2023-04-28 Thread שי ברק
Inside the container probably - makes more sense to me On Fri, 28 Apr 2023 at 17:50 Nick Burch wrote: > On Fri, 28 Apr 2023, שי ברק wrote: > > What does the `--config /tika-config.xml` do and how can I, if possible > > add this flag to my Dockerfile? > > Do you want your Tika Config file to

Re: Run Tika-docker with custom config

2023-04-28 Thread שי ברק
I appreciate your help, it works now. What does the `--config /tika-config.xml` do and how can I, if possible add this flag to my Dockerfile? On Thu, Apr 27, 2023 at 9:11 PM Konstantin Gribov wrote: > Hello. > > Most likely that docker couldn't find the tika-config.xml file at the > directory