modified: build/run/installer.sh

This commit is contained in:
Myve 2024-08-10 03:16:10 +00:00
commit fc9a17e143

View file

@ -1,32 +1,5 @@
#!/usr/bin/env bash
###############
#//
#// Alpine specific
#//
###############
# Pre-create vmail user
addgroup -g 600 vmail
adduser -S -D -h /var/vmail -u 600 -G vmail vmail
# Update and install
apk add --no-cache \
nginx \
mariadb mariadb-client \
ca-certificates acl \
git wget bind-tools \
postfix postfix-mysql postfix-pcre \
dovecot dovecot-mysql dovecot-lmtpd \
postfix-policyd-spf-perl opendkim opendkim-utils \
opendmarc \
php php-fpm php-imap php-mbstring php-mysqli php-curl php-zip php-xml php-bz2 php-intl php-gmp php-ldap php-common php-gd php-sqlite3 \
php-session php-pdo_mysql php-dom php-ctype
# Nginx
sed '/^http {/a\ \
types_hash_max_size 4096;\ \
server_names_hash_bucket_size 128;\n' -i /etc/nginx/nginx.conf
###############
#//
#// Users and directories