File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ Cachet is a BSD-3-licensed open source project. If you'd like to support future
2020
21212 . Edit the docker-compose.yml file to specify your [ ENV variables] ( /conf/.env.docker ) .
2222
23- __ Note:__ You must specify a unique ` APP_KEY ` including ` base64: ` prefix generated by ` php artisan key:generate ` within the container.
2423
25243 . To build an image containing a specific Cachet release, set the [ ` cachet_ver ` ARG in the docker-compose.yml] ( /docker-compose.yml )
2625
@@ -37,6 +36,20 @@ __Note:__ You must specify a unique `APP_KEY` including `base64:` prefix generat
3736
38375 . ` cachethq/docker ` runs on port 8000 by default. This is exposed on host port 80 when using docker-compose.
3938
39+
40+ 6 . Setup the APP_KEY
41+
42+ Whilst the container is up and running, find the name of the Cachet container via ` docker ps ` .
43+
44+ Run ` docker exec -i ID_OF_THE_CONTAINER php artisan key:generate ` .
45+
46+ Replace ` ${APP_KEY:-null} ` in ` docker-compose.yml ` with the newly generated Application key.
47+
48+ __ Note:__ make sure you include ` base64: ` prefix. E.g. ` base64:YOUR_UNIQUE_KEY `
49+
50+ Restart the Docker containers.
51+
52+
4053# Docker Hub Automated build
4154
4255` cachethq/docker ` is available as a [ Docker Hub Trusted Build] ( https://hub.docker.com/r/cachethq/docker/ ) .
You can’t perform that action at this time.
0 commit comments