Browse Source

Not of any use as of today

andryyy 8 years ago
parent
commit
47a7aa7807
2 changed files with 16 additions and 0 deletions
  1. 13 0
      docker-compose.yml
  2. 3 0
      generate_config.sh

+ 13 - 0
docker-compose.yml

@@ -201,6 +201,19 @@ services:
           aliases:
             - 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:
       depends_on:
         - sogo-mailcow

+ 3 - 0
generate_config.sh

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