mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-03-24 19:07:23 +01:00
question docker install
This commit is contained in:
@@ -91,6 +91,7 @@ STORAGE_USER=$STORAGE_USER
|
||||
STORAGE_ROOT=$STORAGE_ROOT
|
||||
PRIMARY_HOSTNAME=$PRIMARY_HOSTNAME
|
||||
DAV_HOSTNAME=$DAV_HOSTNAME
|
||||
INSTALL=$INSTALL
|
||||
PUBLIC_IP=$PUBLIC_IP
|
||||
PUBLIC_IPV6=$PUBLIC_IPV6
|
||||
PRIVATE_IP=$PRIVATE_IP
|
||||
|
||||
@@ -14,8 +14,9 @@ source setup/functions.sh # load our functions
|
||||
# First set the hostname in the configuration file, then activate the setting
|
||||
|
||||
echo $PRIMARY_HOSTNAME > /etc/hostname
|
||||
# Remarking this in this fork to workaround a docker setup issue where this will fail
|
||||
#hostname $PRIMARY_HOSTNAME
|
||||
if [ "$INSTALL" == "m"]; then
|
||||
hostname $PRIMARY_HOSTNAME
|
||||
fi
|
||||
|
||||
# ### Fix permissions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user