Frigate installation - docker-compose

  • Hi,

    No success to install Frigate with docker-compose. I always got this error :

    "services.frigate.environment must be a mapping"

    Any idea please ?


    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; docker compose --file '/docker-appdata/frigate/frigate.yml' --env-file '/docker-appdata/frigate/frigate.env' --env-file '/docker-appdata/global.env' config 2>&1': validating /docker-appdata/frigate/frigate.yml: services.frigate.environment must be a mapping


    OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; docker compose --file '/docker-appdata/frigate/frigate.yml' --env-file '/docker-appdata/frigate/frigate.env' --env-file '/docker-appdata/global.env' config 2>&1': validating /docker-appdata/frigate/frigate.yml: services.frigate.environment must be a mapping in /usr/share/openmediavault/engined/rpc/compose.inc:693

    Stack trace:

    #0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(620): OMVRpcServiceCompose->{closure}('/tmp/bgstatusDi...', '/tmp/bgoutputKX...')

    #1 /usr/share/openmediavault/engined/rpc/compose.inc(696): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))

    #2 [internal function]: OMVRpcServiceCompose->doCommand(Array, Array)

    #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)

    #4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('doCommand', Array, Array)

    #5 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Compose', 'doCommand', Array, Array, 1)

    #6 {main}


    My compose file:

  • My compose file:

    Please, repost the compose inside a CODE box (symbol </> of the BLUE banner) in order to verify the idents.

  • This is a base default compose from their github.

    Use it but adapt to your case:


    frigate/docker-compose.yml at dev · blakeblackshear/frigate (github.com)

  • jymorel

    Hat das Label gelöst hinzugefügt.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!