Skip to content
Discussion options

You must be logged in to vote

I did some more searching because I could have sworn there was a way to even override options set at the CLI and this stackoverflow answer had it. So there is one other way that is much easier to override it with the environment variable _JAVA_OPTIONS so something like: _JAVA_OPTIONS="-Xms512m -Xmx2048m" set would override what is set on the command line so here is a compose example that does it that way:

services:
  omada-controller:
    container_name: omada-novolink
    image: mbentley/omada-controller:latest-chromium
    restart: unless-stopped
    ulimits:
      nofile:
        soft: 4096
        hard: 8192
    stop_grace_period: 60s
    network_mode: host
    environment:
      - _J…

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
1 reply
@adpal06
Comment options

Comment options

You must be logged in to vote
7 replies
@mbentley
Comment options

Answer selected by mbentley
@adpal06
Comment options

@mbentley
Comment options

@adpal06
Comment options

@mbentley
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants