File tree Expand file tree Collapse file tree 4 files changed +18
-4
lines changed Expand file tree Collapse file tree 4 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 1- FROM nginx:1.15.12 -alpine
1+ FROM nginx:1.17.5 -alpine
22
33EXPOSE 8000
44CMD ["/sbin/entrypoint.sh" ]
@@ -9,7 +9,7 @@ ARG archive_url
99ENV cachet_ver ${cachet_ver:-2.4}
1010ENV archive_url ${archive_url:-https://github.com/cachethq/Cachet/archive/${cachet_ver}.tar.gz}
1111
12- ENV COMPOSER_VERSION 1.6.3
12+ ENV COMPOSER_VERSION 1.9.0
1313
1414RUN apk add --no-cache --update \
1515 postgresql-client \
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/ ) .
Original file line number Diff line number Diff line change 11server {
22 listen 8000 default; ## Listen for ipv4; this line is default and implied
3+ listen [::]:8000 default; ## Listen for ipv6
34
45 # Make site accessible from http://localhost/
56 server_name localhost;
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ initialize_system() {
104104 CACHE_DRIVER=${CACHE_DRIVER:- apc}
105105
106106 SESSION_DRIVER=${SESSION_DRIVER:- apc}
107- SESSION_DOMAIN=${SESSION_DOMAIN:- apc }
107+ SESSION_DOMAIN=${SESSION_DOMAIN:- }
108108 SESSION_SECURE_COOKIE=${SESSION_SECURE_COOKIE:- }
109109
110110 QUEUE_DRIVER=${QUEUE_DRIVER:- database}
You can’t perform that action at this time.
0 commit comments