diff --git a/qnap_mediaui.yaml b/qnap_mediaui.yaml index ac66b80..026077b 100644 --- a/qnap_mediaui.yaml +++ b/qnap_mediaui.yaml @@ -11,6 +11,8 @@ services: # Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the stack.env file - $UPLOAD_LOCATION:/usr/src/app/upload - /etc/localtime:/etc/localtime:ro + env_file: + - stack.env ports: - '2283:2283' depends_on: @@ -30,6 +32,8 @@ services: # service: cpu # set to one of [armnn, cuda, rocm, openvino, openvino-wsl, rknn] for accelerated inference - use the `-wsl` version for WSL2 where applicable volumes: - $MODEL_CACHE_LOCATION:/cache + env_file: + - stack.env restart: always healthcheck: disable: false