Skip to content

Commit 8646759

Browse files
committed
Re-add SHOW_WELCOME_MESSAGE
1 parent 4d360ac commit 8646759

File tree

7 files changed

+9
-3
lines changed

7 files changed

+9
-3
lines changed

docs/content/docs/7.reference/1.environment-variable-specification.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ We like to customize our images on a per app basis using environment variables.
6262
`S6_BEHAVIOUR_IF_STAGE2_FAILS`<br />*Default: "2" (stop the container)*|Determines what the container should do if one of the service scripts fails (<a target="_blank" href="https://github.com/just-containers/s6-overlay#customizing-s6-overlay-behaviour">Official docs</a>)|fpm-nginx,<br />fpm-apache
6363
`S6_CMD_WAIT_FOR_SERVICES_MAXTIME`<br />*Default: "0"*|The maximum time (in milliseconds) the services could take to bring up before proceeding to CMD executing (<a target="_blank" href="https://github.com/just-containers/s6-overlay#customizing-s6-overlay-behaviour">Official docs</a>)|fpm-nginx,<br />fpm-apache
6464
`S6_VERBOSITY`<br />*Default: "1"*|Set the verbosity of "S6 Overlay" (the init system these images are based on). The default is "1" (print warnings and errors). The scale goes from 1 to 5, but the output will quickly become very noisy. If you're having issues, start here. You can also customize many other variables. (<a target="_blank" href="https://github.com/just-containers/s6-overlay#customizing-s6-behaviour">Official docs</a>)|fpm-nginx,<br />fpm-apache
65+
`SHOW_WELCOME_MESSAGE`<br />*Default: "true"*|Show a helpful welcome message showing container information when the container starts.|all
6566
`SSL_CERTIFICATE_FILE`<br />*Default: "/etc/ssl/private/self-signed-web.crt"*|Path to public certificate file for HTTPS. You must provide this file otherwise a self-signed key pair will be generated for you.|fpm-nginx,<br />fpm-apache
6667
`SSL_MODE`<br />*Default: "off"*|Configure how you would like to handle SSL. This can be "off" (HTTP only), "mixed" (HTTP + HTTPS), or "full" (HTTPS only). If you use HTTP, you may need to also change `PHP_SESSION_COOKIE_SECURE`.|fpm-nginx,<br />fpm-apache,<br />unit
6768
`SSL_PRIVATE_KEY_FILE`<br />*Default: "/etc/ssl/private/self-signed-web.key"*|Path to private key file for HTTPS. You must provide this file otherwise a self-signed key pair will be generated for you.|fpm-nginx,<br />fpm-apache

src/common/etc/entrypoint.d/0-container-info.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
if [ "$LOG_OUTPUT_LEVEL" != "off" ] && [ "$DISABLE_DEFAULT_CONFIG" = false ]; then
2+
if [ "$SHOW_WELCOME_MESSAGE" = "true" ] && [ "$LOG_OUTPUT_LEVEL" != "off" ] && [ "$DISABLE_DEFAULT_CONFIG" = false ]; then
33
echo '
44
--------------------------------------------------------------------
55
____ ____ _ _ _ _

src/variations/cli/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ ENV APP_BASE_DIR=/var/www/html \
4444
PHP_OPEN_BASEDIR="" \
4545
PHP_POST_MAX_SIZE="100M" \
4646
PHP_SESSION_COOKIE_SECURE=false \
47-
PHP_UPLOAD_MAX_FILE_SIZE="100M"
47+
PHP_UPLOAD_MAX_FILE_SIZE="100M" \
48+
SHOW_WELCOME_MESSAGE=true
4849

4950
# copy our scripts
5051
COPY --chmod=755 src/common/ /

src/variations/fpm-apache/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ ENV APACHE_DOCUMENT_ROOT=/var/www/html/public \
7979
S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 \
8080
S6_KEEP_ENV=1 \
8181
S6_VERBOSITY=1 \
82+
SHOW_WELCOME_MESSAGE=true \
8283
SSL_MODE=off \
8384
SSL_CERTIFICATE_FILE=/etc/ssl/private/self-signed-web.crt \
8485
SSL_PRIVATE_KEY_FILE=/etc/ssl/private/self-signed-web.key

src/variations/fpm-nginx/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ ENV APP_BASE_DIR=/var/www/html \
102102
S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 \
103103
S6_KEEP_ENV=1 \
104104
S6_VERBOSITY=1 \
105+
SHOW_WELCOME_MESSAGE=true \
105106
SSL_MODE=off \
106107
SSL_CERTIFICATE_FILE=/etc/ssl/private/self-signed-web.crt \
107108
SSL_PRIVATE_KEY_FILE=/etc/ssl/private/self-signed-web.key

src/variations/fpm/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ ENV APP_BASE_DIR=/var/www/html \
5050
PHP_OPEN_BASEDIR="" \
5151
PHP_POST_MAX_SIZE="100M" \
5252
PHP_SESSION_COOKIE_SECURE=Off \
53-
PHP_UPLOAD_MAX_FILE_SIZE="100M"
53+
PHP_UPLOAD_MAX_FILE_SIZE="100M" \
54+
SHOW_WELCOME_MESSAGE=true
5455

5556
# copy our scripts
5657
COPY --chmod=755 src/common/ /

src/variations/unit/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ ENV APP_BASE_DIR=/var/www/html \
100100
PHP_POST_MAX_SIZE="100M" \
101101
PHP_SESSION_COOKIE_SECURE=false \
102102
PHP_UPLOAD_MAX_FILE_SIZE="100M" \
103+
SHOW_WELCOME_MESSAGE=true \
103104
SSL_CERT_BUNDLE_FILE=/etc/ssl/certs/private/bundle.pem \
104105
SSL_MODE=off \
105106
UNIT_CERTIFICATE_NAME=self-signed-web \

0 commit comments

Comments
 (0)