<p>I'm trying to run the open source cachet status page within Kubernetes via this tutorial <a href="https://medium.com/@ctbeke/setting-up-cachet-on-google-cloud-817e62916d48" rel="nofollow noreferrer">https://medium.com/@ctbeke/setting-up-cachet-on-google-cloud-817e62916d48</a> </p>

<p>2 docker containers (cachet/nginx) and Postgres are deployed to a pod on GKE but the cachet container fails with the following CrashLoopBackOff error
<a href="https://i.stack.imgur.com/VLy1z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VLy1z.png" alt="Crash error"></a></p>

<p>Within the <a href="https://github.com/CachetHQ/Docker/blob/master/docker-compose.yml" rel="nofollow noreferrer">docker-compose.yml file</a> its set to APP_KEY=${APP_KEY:-null} and i’m wondering if I didn’t set an environment variable I should have.</p>

<p><a href="https://i.stack.imgur.com/bw696.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bw696.png" alt="Stack driver logs"></a></p>

<p>Any help with configuring the cachet docker file would be much appreciated! <a href="https://github.com/CachetHQ/Docker" rel="nofollow noreferrer">https://github.com/CachetHQ/Docker</a> </p>

JJ Nace
<p>Yes, you need to generate a key.</p>

<p>In the <code>entrypoint.sh</code> you can see that the bash script generates a key for you:</p>

<p><a href="https://github.com/CachetHQ/Docker/blob/master/entrypoint.sh#L188-L193" rel="nofollow noreferrer">https://github.com/CachetHQ/Docker/blob/master/entrypoint.sh#L188-L193</a></p>

<p>It seems there's a bug in the Dockerfile here. Generate a key manually and then set it as an environment variable in your manifest.</p>

<p>There's a helm chart you can use in development here: <a href="https://github.com/apptio/helmcharts/blob/cachet/devel/cachet/templates/secrets.yaml#L12" rel="nofollow noreferrer">https://github.com/apptio/helmcharts/blob/cachet/devel/cachet/templates/secrets.yaml#L12</a></p>
