Skip to content

Commit

Permalink
Updated Ubuntu images
Browse files Browse the repository at this point in the history
  • Loading branch information
dotneft committed Apr 28, 2020
1 parent 10ab9db commit b822f9b
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 10 deletions.
1 change: 0 additions & 1 deletion web-apache-mysql/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -115,5 +115,4 @@ USER 1997

ENTRYPOINT ["docker-entrypoint.sh"]

#CMD ["source", "/etc/apache2/envvars", "&&", "/usr/sbin/apache2ctl", "-D", "FOREGROUND"]
CMD ["/usr/sbin/apache2ctl", "-D", "FOREGROUND"]
1 change: 0 additions & 1 deletion web-apache-pgsql/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -115,5 +115,4 @@ USER 1997

ENTRYPOINT ["docker-entrypoint.sh"]

#CMD ["source", "/etc/apache2/envvars", "&&", "/usr/sbin/apache2ctl", "-D", "FOREGROUND"]
CMD ["/usr/sbin/apache2ctl", "-D", "FOREGROUND"]
2 changes: 1 addition & 1 deletion web-apache-pgsql/ubuntu/conf/etc/zabbix/apache.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<VirtualHost *:80>
<VirtualHost *:8080>
DocumentRoot /usr/share/zabbix/
ServerName zabbix
DirectoryIndex index.php
Expand Down
2 changes: 1 addition & 1 deletion web-apache-pgsql/ubuntu/conf/etc/zabbix/apache_ssl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ LoadModule socache_shmcb_module /usr/lib/apache2/modules/mod_socache_shmcb.so
LoadModule headers_module /usr/lib/apache2/modules/mod_headers.so

<IfModule mod_ssl.c>
<VirtualHost *:443>
<VirtualHost *:8443>
SSLEngine on

DocumentRoot /usr/share/zabbix/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Zabbix GUI configuration file.
global $DB;

$DB['TYPE'] = 'MYSQL';
$DB['TYPE'] = 'POSTGRESQL';
$DB['SERVER'] = '{DB_SERVER_HOST}';
$DB['PORT'] = '{DB_SERVER_PORT}';
$DB['DATABASE'] = '{DB_SERVER_DBNAME}';
Expand Down
6 changes: 2 additions & 4 deletions web-nginx-pgsql/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ RUN set -eux && \
apt-get -y update && \
DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install \
gettext \
git \
locales && \
git && \
cd /usr/share/ && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
mkdir /usr/share/zabbix/ && \
Expand Down Expand Up @@ -111,8 +110,7 @@ RUN set -eux && \
chmod -R g=u /var/lib/php/session/ && \
DEBIAN_FRONTEND=noninteractive apt-get -y purge \
gettext \
git \
locales && \
git && \
apt-get -y autoremove && \
apt-get -y clean && \
rm -rf /var/lib/apt/lists/*
Expand Down
2 changes: 1 addition & 1 deletion web-nginx-pgsql/ubuntu/conf/etc/zabbix/web/zabbix.conf.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Zabbix GUI configuration file.
global $DB;

$DB['TYPE'] = 'MYSQL';
$DB['TYPE'] = 'POSTGRESQL';
$DB['SERVER'] = '{DB_SERVER_HOST}';
$DB['PORT'] = '{DB_SERVER_PORT}';
$DB['DATABASE'] = '{DB_SERVER_DBNAME}';
Expand Down

0 comments on commit b822f9b

Please sign in to comment.