Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
MaillPierre opened this issue Jan 31, 2024 · 1 comment
Closed

Comments

@MaillPierre
Copy link
Member

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.

@remiceres
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants