diff --git a/docker-compose.yml b/docker-compose.yml index 80ad86e..fdc6281 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,7 +3,7 @@ services: main-openhab: image: openhab/openhab:2.2.0-${OPENHAB_ARCH:-amd64}-debian - mem_limit: 2g + mem_limit: ${OPENHAB_MEMORY_LIMIT:-2g} restart: always tty: true logging: diff --git a/openhab.conf.example b/openhab.conf.example index 71ecd8c..b7b1827 100644 --- a/openhab.conf.example +++ b/openhab.conf.example @@ -23,3 +23,6 @@ # language OPENHAB_LANG=de_DE.UTF-8 + +# optional change memory limit +#OPENHAB_MEMORY_LIMIT=2g