From 6b767ace92103ed4c694a37087a4e43769bf33cd Mon Sep 17 00:00:00 2001 From: Wassilios Lytras Date: Wed, 4 Dec 2024 09:23:49 +0100 Subject: [PATCH] Update docker-compose.yml Fixes issue with environment variable not populated properly into config and enables UI by default. --- docker-compose.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 9c21ec92..c3db1fa7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,14 +9,15 @@ services: - 4081:10081 - ${HOST_RESTAPI_PORT:-8443}:8080 environment: - - OPENAS2PROP_RESTAPI__COMMAND__PROCESOR__BASEURI="http://0.0.0.0:8080" - - OPENAS2PROP_RESTAPI__COMMAND__PROCESOR__USERID="userID" - - OPENAS2PROP_RESTAPI__COMMAND__PROCESOR__PASSWORD="pWd" + - OPENAS2PROP_RESTAPI__COMMAND__PROCESSOR__BASEURI=http://0.0.0.0:8080 + - OPENAS2PROP_RESTAPI__COMMAND__PROCESSOR__USERID=userID + - OPENAS2PROP_RESTAPI__COMMAND__PROCESSOR__PASSWORD=pWd + - OPENAS2PROP_RESTAPI__COMMAND__PROCESSOR__ENABLED=true tty: true stdin_open: true volumes: - - config:/opt/openas2/config:rw - - data:/opt/openas2/data:rw + - ./config:/opt/openas2/config:rw + - ./data:/opt/openas2/data:rw openas2_webui: