Wimmics/corese

[Bug] Corese docker do not accept multiple options in docker compose

MaillPierre opened this issue · 1 comments

Issue Description:

Multiple options for the corese server in the "OPTIONS" property of a docker-compose file trigger a parsing error

Bug Details:

When I try to use both the "-su" and "-o" options, I get Parsing failed. Reason: Unrecognized option: -owl -su

Steps to Reproduce:

My project uses the following config for corese

version: '3.8'
services:
  corese:
    image: wimmics/corese:latest
    hostname: corese
    environment:
      OPTIONS: "-owl -su"
      JVM_XMX: "15g"
    expose: 
      - "8080"
    volumes:
      - ./output:/usr/local/corese/log
      - ./config:/usr/local/corese/config
    extra_hosts:
      - host.docker.internal:host-gateway

I tried to replace -owl with -o, rearranging the order of the options.
Putting the options into a list :

OPTIONS: 
    - "-owl" 
    - "-su"

returns a type error.

Hello Pierre,

Thank you for the report. I have fixed the bug, and it will be available in the next release.

I have published a Nightly version on Docker Hub if you want to test it: docker pull wimmics/corese:4.5.1-nightly-20240202.