Laradock can not start

今天要啟動時, 發現錯誤訊息如下 . 起因為我下了 git pull 去拿取最新的程式

WARNING: The CASSANDRA_CLUSTER_NAME variable is not set. Defaulting to a blank string.
WARNING: The CASSANDRA_SEEDS variable is not set. Defaulting to a blank string.
WARNING: The CASSANDRA_ENDPOINT_SNITCH variable is not set. Defaulting to a blank string.
WARNING: The CASSANDRA_ENABLE_RPC variable is not set. Defaulting to a blank string.
WARNING: The CASSANDRA_DATACENTER variable is not set. Defaulting to a blank string.
WARNING: The CASSANDRA_RACK variable is not set. Defaulting to a blank string.
ERROR: The Compose file ‘./docker-compose.yml’ is invalid because:
services.cassandra.ports is invalid: Port ranges don’t match in length
services.cassandra.ports is invalid: Port ranges don’t match in length
services.cassandra.ports is invalid: Port ranges don’t match in length

原因 : 為 env 的格式有異動了. 所以要拿最新的 env example 來解決

解決方式 重新 configure .env , 再重新啟動 dock-composer

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *