1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-06-07 07:56:12 +00:00

fix yes set as timezone (#157)

* fix yes set as timezone

value_default would not be empty but rather have yes as the value

Signed-off-by: Felix Bartels <felix@host-consultants.de>

* also add version control for ssl and kweb

Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
Felix Bartels 2019-05-14 15:17:32 +02:00 committed by GitHub
parent 3a886cfbeb
commit 38d9993b68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 6 deletions

View File

@ -2,7 +2,7 @@ version: "3.5"
services:
web:
image: ${docker_repo:-zokradonh}/kopano_web
image: ${docker_repo:-zokradonh}/kopano_web:${KWEB_VERSION:-latest}
restart: unless-stopped
ports:
- "${CADDY:-2015}:2015"
@ -178,7 +178,7 @@ services:
- kopano-net
kopano_ssl:
image: ${docker_repo:-zokradonh}/kopano_ssl
image: ${docker_repo:-zokradonh}/kopano_ssl:${SSL_VERSION:-latest}
environment:
- FQDN=${FQDN}
- PKI_COUNTRY=NL

View File

@ -184,10 +184,8 @@ if [ ! -e ./.env ]; then
value_default=$(cat /etc/timezone)
elif [ -f /etc/localtime ]; then
value_default=$(readlink /etc/localtime|sed -n 's|^.*zoneinfo/||p')
fi
if [ -z "${value_default}" ]; then
value_default="Europe/Berlin".
else
value_default="Europe/Berlin"
fi
read -r -p "Timezone to be used [$value_default]: " new_value