mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-11 01:27:17 +00:00
question docker install
This commit is contained in:
parent
8516b6df94
commit
a996926e08
@ -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
|
||||
|
||||
|
@ -1,8 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Fixup some dependencies missing from the ubuntu:bionic image
|
||||
apt install locales curl lsb-release net-tools git grep -y
|
||||
# In order to install Mail-in-a-Box on an ubuntu:bionic docker container, this
|
||||
# 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 ~
|
||||
git clone https://github.com/kaibae19/mailinabox
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user