Skip to content

Commit 3af7c45

Browse files
committed
Backport support
1 parent 7031d69 commit 3af7c45

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

emhass/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ RUN apt-get update \
4848
#copy config file (on all builds)
4949
COPY config_emhass.yaml /app/
5050

51+
# Make sure data directory exists
52+
RUN mkdir -p /app/data/
53+
5154
#-------------------------
5255
#EMHASS-ADDON Default
5356
FROM base as addon

emhass/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ panel_title: EMHASS
2828
environment:
2929
OPTIONS_PATH: '/data/options.json'
3030
CONFIG_PATH: '/app/config_emhass.yaml'
31+
DATA_PATH: '/app/data/'
3132
options:
3233
logging_level: INFO
3334
costfun: profit

0 commit comments

Comments
 (0)