1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-18 02:32:09 +00:00

question docker install

This commit is contained in:
kaibae19 2022-04-04 07:48:20 -07:00
parent 8516b6df94
commit a996926e08
3 changed files with 11 additions and 4 deletions

View File

@ -91,6 +91,7 @@ STORAGE_USER=$STORAGE_USER
STORAGE_ROOT=$STORAGE_ROOT STORAGE_ROOT=$STORAGE_ROOT
PRIMARY_HOSTNAME=$PRIMARY_HOSTNAME PRIMARY_HOSTNAME=$PRIMARY_HOSTNAME
DAV_HOSTNAME=$DAV_HOSTNAME DAV_HOSTNAME=$DAV_HOSTNAME
INSTALL=$INSTALL
PUBLIC_IP=$PUBLIC_IP PUBLIC_IP=$PUBLIC_IP
PUBLIC_IPV6=$PUBLIC_IPV6 PUBLIC_IPV6=$PUBLIC_IPV6
PRIVATE_IP=$PRIVATE_IP PRIVATE_IP=$PRIVATE_IP

View File

@ -14,8 +14,9 @@ source setup/functions.sh # load our functions
# First set the hostname in the configuration file, then activate the setting # First set the hostname in the configuration file, then activate the setting
echo $PRIMARY_HOSTNAME > /etc/hostname echo $PRIMARY_HOSTNAME > /etc/hostname
# Remarking this in this fork to workaround a docker setup issue where this will fail if [ "$INSTALL" == "m"]; then
#hostname $PRIMARY_HOSTNAME hostname $PRIMARY_HOSTNAME
fi
# ### Fix permissions # ### Fix permissions

View File

@ -1,8 +1,13 @@
#!/bin/bash #!/bin/bash
# Fixup some dependencies missing from the ubuntu:bionic image # In order to install Mail-in-a-Box on an ubuntu:bionic docker container, this
apt install locales curl lsb-release net-tools git grep -y # script will help fix up the base ubuntu image to allow for installation
# Fixup some dependencies missing from the ubuntu:bionic image
apt update
apt install locales curl lsb-release net-tools git grep systemd -y
# Clone the Mail-in-a-Box repository to your home directory
cd ~ cd ~
git clone https://github.com/kaibae19/mailinabox git clone https://github.com/kaibae19/mailinabox