Compare commits

...

19 Commits
0.28 ... 0.35

Author SHA1 Message Date
cytopia
53cc3c5cc9 Merge pull request #48 from devilbox/release-0.35
Refs #36: Adding ZSH shell
2018-08-27 14:39:45 +02:00
cytopia
00d2e41de8 Refs #36: Adding ZSH shell 2018-08-24 09:45:42 +02:00
cytopia
4afe6ab397 Merge pull request #47 from devilbox/release-0.34
Adding tree binary
2018-08-22 18:07:32 +02:00
cytopia
c427f37fba Adding tree binary 2018-08-22 13:05:24 +02:00
cytopia
ea68f8e37a Merge pull request #46 from devilbox/release-0.33
Add tool: AsgardCMS cli installer
2018-08-22 13:03:10 +02:00
cytopia
d5d07d0620 Add tool: AsgardCMS cli installer 2018-08-19 20:40:07 +02:00
cytopia
cfc06a1458 Merge pull request #45 from devilbox/release-0.32
Fix mhsendmail path
2018-08-13 01:08:38 +02:00
cytopia
92eceb9ae9 Fix mhsendmail path 2018-08-12 12:32:51 +02:00
cytopia
796195dfdc Merge pull request #44 from devilbox/release-0.31
Fix wp-cli installation
2018-08-12 11:25:52 +02:00
cytopia
3c17b4d3c1 Revert PHP 5.2 wpcli 2018-08-11 23:41:19 +02:00
cytopia
b79e4b5b1b Fix wp-cli installation 2018-08-11 23:02:57 +02:00
cytopia
d82a529955 Merge pull request #43 from devilbox/php-modules-warning
PHP modules warning
2018-08-11 23:02:29 +02:00
cytopia
c41d30c92f Add missing return after gathering state of PHP modules to disable 2018-08-10 09:37:08 +02:00
cytopia
3ffa64ad3a Add missing return after gathering state of additional PHP modules 2018-08-10 09:34:28 +02:00
cytopia
3a901f1699 Merge pull request #42 from devilbox/rsync
Adding rsync as a standard tool to all container
2018-08-08 08:25:43 +02:00
cytopia
e4c9e70957 Generate Dockerfiles 2018-08-08 00:14:28 +02:00
cytopia
619af1207d Adding tool: rsync 2018-08-08 00:13:14 +02:00
cytopia
ff6afb7296 Merge pull request #41 from devilbox/release-0.29
Fix default listen.backlog value
2018-08-04 20:07:14 +02:00
cytopia
8a4736f1e4 Fix default listen.backlog value 2018-08-04 16:55:11 +02:00
32 changed files with 111 additions and 34 deletions

View File

@@ -40,7 +40,7 @@
<value name="listen_options">
Set listen(2) backlog
<value name="backlog">128</value>
<value name="backlog">1024</value>
Set permissions for unix socket, if one used.
In Linux read/write permissions must be set in order to allow connections from web server.
Many BSD-derrived systems allow connections regardless of permissions.

View File

@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
; are silently truncated
listen.backlog = 128
listen.backlog = 1024
; ############################################################

View File

@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
; are silently truncated
listen.backlog = 128
listen.backlog = 1024
; ############################################################

View File

@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
; are silently truncated
listen.backlog = 128
listen.backlog = 1024
; ############################################################

View File

@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
; are silently truncated
listen.backlog = 128
listen.backlog = 1024
; ############################################################

View File

@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
; are silently truncated
listen.backlog = 128
listen.backlog = 1024
; ############################################################

View File

@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
; are silently truncated
listen.backlog = 128
listen.backlog = 1024
; ############################################################

View File

@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
; are silently truncated
listen.backlog = 128
listen.backlog = 1024
; ############################################################

View File

@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
; are silently truncated
listen.backlog = 128
listen.backlog = 1024
; ############################################################

View File

@@ -27,10 +27,11 @@ enable_modules() {
if [ -z "${mods}" ]; then
log "info" "\$${mod_varname} set, but empty. Not enabling any PHP modules." "${debug}"
else
log "info" "Enabling the following PHP modules: ${mods}" "${debug}"
return 0
fi
log "info" "Enabling the following PHP modules: ${mods}" "${debug}"
while read -r mod; do
mod="$( echo "${mod}" | xargs )" # trim

View File

@@ -24,10 +24,11 @@ disable_modules() {
if [ -z "${mods}" ]; then
log "info" "\$${mod_varname} set, but empty. Not disabling any PHP modules." "${debug}"
else
log "info" "Disabling the following PHP modules: ${mods}" "${debug}"
return 0
fi
log "info" "Disabling the following PHP modules: ${mods}" "${debug}"
while read -r mod; do
mod="$( echo "${mod}" | xargs )" # trim

View File

@@ -83,6 +83,7 @@ RUN set -x \
python-pip \
python-wheel \
redis-tools \
rsync \
rubygems \
ruby-dev \
shellcheck \
@@ -90,12 +91,14 @@ RUN set -x \
subversion \
sudo \
tig \
tree \
vim \
w3m \
wget \
whois \
xz-utils \
yarn \
zsh \
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps \
&& rm -rf /var/lib/apt/lists/*
@@ -149,7 +152,7 @@ RUN set -x \
# mhsendmail
&& wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64 \
&& chmod +x mhsendmail_linux_amd64 \
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmai \
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
\
# mysqldumpsecure
&& git clone https://github.com/cytopia/mysqldump-secure.git /usr/local/src/mysqldump-secure \

View File

@@ -83,6 +83,7 @@ RUN set -x \
python-pip \
python-wheel \
redis-tools \
rsync \
rubygems \
ruby-dev \
shellcheck \
@@ -90,12 +91,14 @@ RUN set -x \
subversion \
sudo \
tig \
tree \
vim \
w3m \
wget \
whois \
xz-utils \
yarn \
zsh \
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps \
&& rm -rf /var/lib/apt/lists/*
@@ -169,7 +172,7 @@ RUN set -x \
# mhsendmail
&& wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64 \
&& chmod +x mhsendmail_linux_amd64 \
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmai \
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
\
# mysqldumpsecure
&& git clone https://github.com/cytopia/mysqldump-secure.git /usr/local/src/mysqldump-secure \
@@ -221,7 +224,7 @@ RUN set -x \
# webpack
&& npm install -g webpack webpack-cli \
# wpcli
&& curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp \
&& curl https://github.com/wp-cli/wp-cli/releases/download/v1.5.1/wp-cli-1.5.1.phar -L -o /usr/local/bin/wp \
&& chmod +x /usr/local/bin/wp \
# yamllint
&& apt update && apt install --no-install-recommends --no-install-suggests -y libpython-dev python-setuptools libyaml-dev \

View File

@@ -83,6 +83,7 @@ RUN set -x \
python-pip \
python-wheel \
redis-tools \
rsync \
rubygems \
ruby-dev \
shellcheck \
@@ -90,12 +91,14 @@ RUN set -x \
subversion \
sudo \
tig \
tree \
vim \
w3m \
wget \
whois \
xz-utils \
yarn \
zsh \
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps \
&& rm -rf /var/lib/apt/lists/*
@@ -179,7 +182,7 @@ RUN set -x \
# mhsendmail
&& wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64 \
&& chmod +x mhsendmail_linux_amd64 \
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmai \
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
\
# mysqldumpsecure
&& git clone https://github.com/cytopia/mysqldump-secure.git /usr/local/src/mysqldump-secure \

View File

@@ -83,6 +83,7 @@ RUN set -x \
python-pip \
python-wheel \
redis-tools \
rsync \
rubygems \
ruby-dev \
shellcheck \
@@ -90,12 +91,14 @@ RUN set -x \
subversion \
sudo \
tig \
tree \
vim \
w3m \
wget \
whois \
xz-utils \
yarn \
zsh \
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps \
&& rm -rf /var/lib/apt/lists/*
@@ -107,6 +110,10 @@ RUN set -x \
&& pip install --upgrade setuptools \
&& pip install ansible \
\
# asgardcms
&& COMPOSER_HOME="/usr/local/src/composer" composer global require asgardcms/asgardcms-installer \
&& ln -s /usr/local/src/composer/vendor/asgardcms/asgardcms-installer/asgardcms /usr/local/bin/asgardcms \
\
# awesomeci
&& git clone https://github.com/cytopia/awesome-ci.git /usr/local/src/awesome-ci \
&& cd /usr/local/src/awesome-ci \
@@ -182,7 +189,7 @@ RUN set -x \
# mhsendmail
&& wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64 \
&& chmod +x mhsendmail_linux_amd64 \
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmai \
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
\
# mysqldumpsecure
&& git clone https://github.com/cytopia/mysqldump-secure.git /usr/local/src/mysqldump-secure \
@@ -303,6 +310,7 @@ RUN set -x \
RUN set -x \
&& composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+' \
&& ansible --version | grep -E '^ansible [.0-9]+$' \
&& asgardcms --version 2>/dev/null | grep -Ei 'AsgardCMS\sInstaller\s[.0-9]+' \
&& mdl --version | grep -E '[.0-9]+' \
&& scss-lint --version | grep -E '[.0-9]+' \
&& eslint -v | grep -E '[.0-9]+' \

View File

@@ -83,6 +83,7 @@ RUN set -x \
python-pip \
python-wheel \
redis-tools \
rsync \
rubygems \
ruby-dev \
shellcheck \
@@ -90,12 +91,14 @@ RUN set -x \
subversion \
sudo \
tig \
tree \
vim \
w3m \
wget \
whois \
xz-utils \
yarn \
zsh \
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps \
&& rm -rf /var/lib/apt/lists/*
@@ -107,6 +110,10 @@ RUN set -x \
&& pip install --upgrade setuptools \
&& pip install ansible \
\
# asgardcms
&& COMPOSER_HOME="/usr/local/src/composer" composer global require asgardcms/asgardcms-installer \
&& ln -s /usr/local/src/composer/vendor/asgardcms/asgardcms-installer/asgardcms /usr/local/bin/asgardcms \
\
# awesomeci
&& git clone https://github.com/cytopia/awesome-ci.git /usr/local/src/awesome-ci \
&& cd /usr/local/src/awesome-ci \
@@ -182,7 +189,7 @@ RUN set -x \
# mhsendmail
&& wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64 \
&& chmod +x mhsendmail_linux_amd64 \
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmai \
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
\
# mysqldumpsecure
&& git clone https://github.com/cytopia/mysqldump-secure.git /usr/local/src/mysqldump-secure \
@@ -303,6 +310,7 @@ RUN set -x \
RUN set -x \
&& composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+' \
&& ansible --version | grep -E '^ansible [.0-9]+$' \
&& asgardcms --version 2>/dev/null | grep -Ei 'AsgardCMS\sInstaller\s[.0-9]+' \
&& mdl --version | grep -E '[.0-9]+' \
&& scss-lint --version | grep -E '[.0-9]+' \
&& eslint -v | grep -E '[.0-9]+' \

View File

@@ -83,6 +83,7 @@ RUN set -x \
python-pip \
python-wheel \
redis-tools \
rsync \
rubygems \
ruby-dev \
shellcheck \
@@ -90,12 +91,14 @@ RUN set -x \
subversion \
sudo \
tig \
tree \
vim \
w3m \
wget \
whois \
xz-utils \
yarn \
zsh \
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps \
&& rm -rf /var/lib/apt/lists/*
@@ -107,6 +110,10 @@ RUN set -x \
&& pip install --upgrade setuptools \
&& pip install ansible \
\
# asgardcms
&& COMPOSER_HOME="/usr/local/src/composer" composer global require asgardcms/asgardcms-installer \
&& ln -s /usr/local/src/composer/vendor/asgardcms/asgardcms-installer/asgardcms /usr/local/bin/asgardcms \
\
# awesomeci
&& git clone https://github.com/cytopia/awesome-ci.git /usr/local/src/awesome-ci \
&& cd /usr/local/src/awesome-ci \
@@ -182,7 +189,7 @@ RUN set -x \
# mhsendmail
&& wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64 \
&& chmod +x mhsendmail_linux_amd64 \
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmai \
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
\
# mysqldumpsecure
&& git clone https://github.com/cytopia/mysqldump-secure.git /usr/local/src/mysqldump-secure \
@@ -303,6 +310,7 @@ RUN set -x \
RUN set -x \
&& composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+' \
&& ansible --version | grep -E '^ansible [.0-9]+$' \
&& asgardcms --version 2>/dev/null | grep -Ei 'AsgardCMS\sInstaller\s[.0-9]+' \
&& mdl --version | grep -E '[.0-9]+' \
&& scss-lint --version | grep -E '[.0-9]+' \
&& eslint -v | grep -E '[.0-9]+' \

View File

@@ -83,6 +83,7 @@ RUN set -x \
python-pip \
python-wheel \
redis-tools \
rsync \
rubygems \
ruby-dev \
shellcheck \
@@ -90,12 +91,14 @@ RUN set -x \
subversion \
sudo \
tig \
tree \
vim \
w3m \
wget \
whois \
xz-utils \
yarn \
zsh \
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps \
&& rm -rf /var/lib/apt/lists/*
@@ -107,6 +110,10 @@ RUN set -x \
&& pip install --upgrade setuptools \
&& pip install ansible \
\
# asgardcms
&& COMPOSER_HOME="/usr/local/src/composer" composer global require asgardcms/asgardcms-installer \
&& ln -s /usr/local/src/composer/vendor/asgardcms/asgardcms-installer/asgardcms /usr/local/bin/asgardcms \
\
# awesomeci
&& git clone https://github.com/cytopia/awesome-ci.git /usr/local/src/awesome-ci \
&& cd /usr/local/src/awesome-ci \
@@ -182,7 +189,7 @@ RUN set -x \
# mhsendmail
&& wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64 \
&& chmod +x mhsendmail_linux_amd64 \
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmai \
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
\
# mysqldumpsecure
&& git clone https://github.com/cytopia/mysqldump-secure.git /usr/local/src/mysqldump-secure \
@@ -303,6 +310,7 @@ RUN set -x \
RUN set -x \
&& composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+' \
&& ansible --version | grep -E '^ansible [.0-9]+$' \
&& asgardcms --version 2>/dev/null | grep -Ei 'AsgardCMS\sInstaller\s[.0-9]+' \
&& mdl --version | grep -E '[.0-9]+' \
&& scss-lint --version | grep -E '[.0-9]+' \
&& eslint -v | grep -E '[.0-9]+' \

View File

@@ -83,6 +83,7 @@ RUN set -x \
python-pip \
python-wheel \
redis-tools \
rsync \
rubygems \
ruby-dev \
shellcheck \
@@ -90,12 +91,14 @@ RUN set -x \
subversion \
sudo \
tig \
tree \
vim \
w3m \
wget \
whois \
xz-utils \
yarn \
zsh \
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps \
&& rm -rf /var/lib/apt/lists/*
@@ -107,6 +110,10 @@ RUN set -x \
&& pip install --upgrade setuptools \
&& pip install ansible \
\
# asgardcms
&& COMPOSER_HOME="/usr/local/src/composer" composer global require asgardcms/asgardcms-installer \
&& ln -s /usr/local/src/composer/vendor/asgardcms/asgardcms-installer/asgardcms /usr/local/bin/asgardcms \
\
# awesomeci
&& git clone https://github.com/cytopia/awesome-ci.git /usr/local/src/awesome-ci \
&& cd /usr/local/src/awesome-ci \
@@ -182,7 +189,7 @@ RUN set -x \
# mhsendmail
&& wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64 \
&& chmod +x mhsendmail_linux_amd64 \
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmai \
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
\
# mysqldumpsecure
&& git clone https://github.com/cytopia/mysqldump-secure.git /usr/local/src/mysqldump-secure \
@@ -303,6 +310,7 @@ RUN set -x \
RUN set -x \
&& composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+' \
&& ansible --version | grep -E '^ansible [.0-9]+$' \
&& asgardcms --version 2>/dev/null | grep -Ei 'AsgardCMS\sInstaller\s[.0-9]+' \
&& mdl --version | grep -E '[.0-9]+' \
&& scss-lint --version | grep -E '[.0-9]+' \
&& eslint -v | grep -E '[.0-9]+' \

View File

@@ -83,6 +83,7 @@ RUN set -x \
python-pip \
python-wheel \
redis-tools \
rsync \
rubygems \
ruby-dev \
shellcheck \
@@ -90,12 +91,14 @@ RUN set -x \
subversion \
sudo \
tig \
tree \
vim \
w3m \
wget \
whois \
xz-utils \
yarn \
zsh \
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps \
&& rm -rf /var/lib/apt/lists/*
@@ -107,6 +110,10 @@ RUN set -x \
&& pip install --upgrade setuptools \
&& pip install ansible \
\
# asgardcms
&& COMPOSER_HOME="/usr/local/src/composer" composer global require asgardcms/asgardcms-installer \
&& ln -s /usr/local/src/composer/vendor/asgardcms/asgardcms-installer/asgardcms /usr/local/bin/asgardcms \
\
# awesomeci
&& git clone https://github.com/cytopia/awesome-ci.git /usr/local/src/awesome-ci \
&& cd /usr/local/src/awesome-ci \
@@ -182,7 +189,7 @@ RUN set -x \
# mhsendmail
&& wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64 \
&& chmod +x mhsendmail_linux_amd64 \
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmai \
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
\
# mysqldumpsecure
&& git clone https://github.com/cytopia/mysqldump-secure.git /usr/local/src/mysqldump-secure \
@@ -292,6 +299,7 @@ RUN set -x \
RUN set -x \
&& composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+' \
&& ansible --version | grep -E '^ansible [.0-9]+$' \
&& asgardcms --version 2>/dev/null | grep -Ei 'AsgardCMS\sInstaller\s[.0-9]+' \
&& mdl --version | grep -E '[.0-9]+' \
&& scss-lint --version | grep -E '[.0-9]+' \
&& eslint -v | grep -E '[.0-9]+' \

View File

@@ -40,7 +40,7 @@
<value name="listen_options">
Set listen(2) backlog
<value name="backlog">128</value>
<value name="backlog">1024</value>
Set permissions for unix socket, if one used.
In Linux read/write permissions must be set in order to allow connections from web server.
Many BSD-derrived systems allow connections regardless of permissions.

View File

@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
; are silently truncated
listen.backlog = 128
listen.backlog = 1024
; ############################################################

View File

@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
; are silently truncated
listen.backlog = 128
listen.backlog = 1024
; ############################################################

View File

@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
; are silently truncated
listen.backlog = 128
listen.backlog = 1024
; ############################################################

View File

@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
; are silently truncated
listen.backlog = 128
listen.backlog = 1024
; ############################################################

View File

@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
; are silently truncated
listen.backlog = 128
listen.backlog = 1024
; ############################################################

View File

@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
; are silently truncated
listen.backlog = 128
listen.backlog = 1024
; ############################################################

View File

@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
; are silently truncated
listen.backlog = 128
listen.backlog = 1024
; ############################################################

View File

@@ -41,7 +41,7 @@ access.log = /proc/self/fd/2
; This should not be greater than `cat /proc/sys/net/core/somaxconn`, otherwise connections
; are silently truncated
listen.backlog = 128
listen.backlog = 1024
; ############################################################

View File

@@ -822,6 +822,10 @@ You want to use tools such as `git`, `drush`, `composer`, `npm`, `eslint`, `phpc
<td><a href="https://www.ansible.com/">Ansible</a></td>
<td>Automation tool.</td>
</tr>
<tr>
<td><a href="https://asgardcms.com/install">asgardcms</a></td>
<td>AsgardCMS cli installer.</td>
</tr>
<tr>
<td><a href="https://github.com/cytopia/awesome-ci">awesome-ci</a></td>
<td>Various linting and source code analyzing tools.</td>

View File

@@ -98,6 +98,7 @@ RUN set -x \
python-pip \
python-wheel \
redis-tools \
rsync \
rubygems \
ruby-dev \
shellcheck \
@@ -105,12 +106,14 @@ RUN set -x \
subversion \
sudo \
tig \
tree \
vim \
w3m \
wget \
whois \
xz-utils \
yarn \
zsh \
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps \
&& rm -rf /var/lib/apt/lists/*

View File

@@ -96,7 +96,7 @@ php_settings_fpm:
# Network
listen: 9000
# Backlog
listen_backlog: 128
listen_backlog: 1024
# Logging
log_level: notice
error_log: /proc/self/fd/2
@@ -199,6 +199,7 @@ software_enabled:
- composer
# Normal packages start here
- ansible
- asgardcms
- awesomeci
- codeception
- drush
@@ -288,6 +289,13 @@ apt_repositories_available:
# pre: [optional] Run command after 'command:' statement
#
software_available:
asgardcms:
disabled: [5.2, 5.3, 5.4]
check: asgardcms --version 2>/dev/null | grep -Ei 'AsgardCMS\sInstaller\s[.0-9]+'
all:
command: |
COMPOSER_HOME="{{ compose_home }}" composer global require asgardcms/asgardcms-installer \
&& ln -s {{ compose_home }}/vendor/asgardcms/asgardcms-installer/asgardcms /usr/local/bin/asgardcms \
ansible:
check: ansible --version | grep -E '^ansible [.0-9]+$'
all:
@@ -445,7 +453,7 @@ software_available:
command: |
wget https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64 \
&& chmod +x mhsendmail_linux_amd64 \
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmai \
&& mv mhsendmail_linux_amd64 /usr/local/bin/mhsendmail \
mysqldumpsecure:
check: mysqldump-secure --version | grep -E 'Version:\s*[.0-9]+'
all:
@@ -569,6 +577,9 @@ software_available:
wpcli:
disabled: [5.2]
check: wp --allow-root --version | grep -E '[.0-9]+'
5.3:
command: curl https://github.com/wp-cli/wp-cli/releases/download/v1.5.1/wp-cli-1.5.1.phar -L -o /usr/local/bin/wp
post: chmod +x /usr/local/bin/wp
all:
command: curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp
post: chmod +x /usr/local/bin/wp