Not of any use as of today

master
andryyy 2017-02-21 22:26:14 +01:00
parent f13df1ec46
commit 47a7aa7807
2 changed files with 16 additions and 0 deletions

View File

@ -201,6 +201,19 @@ services:
aliases: aliases:
- memcached - memcached
# clamav-mailcow:
# build: ./data/Dockerfiles/clamav
# depends_on:
# - pdns-mailcow
# restart: always
# dns:
# - 172.22.1.250
# dns_search: mailcow-network
# networks:
# mailcow-network:
# aliases:
# - clamav
nginx-mailcow: nginx-mailcow:
depends_on: depends_on:
- sogo-mailcow - sogo-mailcow

View File

@ -16,8 +16,11 @@ if [ -z "$MAILCOW_HOSTNAME" ]; then
read -p "Hostname (FQDN): " -ei "mx.example.org" MAILCOW_HOSTNAME read -p "Hostname (FQDN): " -ei "mx.example.org" MAILCOW_HOSTNAME
fi fi
[[ -a /etc/timezone ]] && TZ=$(cat /etc/timezone)
if [ -z "$TZ" ]; then if [ -z "$TZ" ]; then
read -p "Timezone: " -ei "Europe/Berlin" TZ read -p "Timezone: " -ei "Europe/Berlin" TZ
else
read -p "Timezone: " -ei ${TZ} TZ
fi fi
cat << EOF > mailcow.conf cat << EOF > mailcow.conf