mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-11-25 17:23:48 +01:00
commit
b626f3005e
@ -56,6 +56,8 @@ RUN apk update && \
|
||||
--with-openssl && \
|
||||
make -j"$(nproc)" -s 1>/dev/null && \
|
||||
cp src/zabbix_agent/zabbix_agentd /usr/sbin/zabbix_agentd && \
|
||||
cp src/zabbix_get/zabbix_get /usr/bin/zabbix_get && \
|
||||
cp src/zabbix_sender/zabbix_sender /usr/bin/zabbix_sender && \
|
||||
cp conf/zabbix_agentd.conf /etc/zabbix && \
|
||||
chown --quiet -R zabbix:root /etc/zabbix && \
|
||||
cd /tmp/ && \
|
||||
|
@ -62,6 +62,8 @@ RUN apt-get ${APT_FLAGS_COMMON} update && \
|
||||
--with-openssl && \
|
||||
make -j"$(nproc)" -s 1>/dev/null && \
|
||||
cp src/zabbix_agent/zabbix_agentd /usr/sbin/zabbix_agentd && \
|
||||
cp src/zabbix_get/zabbix_get /usr/bin/zabbix_get && \
|
||||
cp src/zabbix_sender/zabbix_sender /usr/bin/zabbix_sender && \
|
||||
cp conf/zabbix_agentd.conf /etc/zabbix/ && \
|
||||
chown --quiet -R zabbix:root /etc/zabbix && \
|
||||
cd /tmp/ && \
|
||||
|
@ -252,6 +252,7 @@ services:
|
||||
|
||||
mysql-server:
|
||||
image: mysql:5.7
|
||||
command: [mysqld, --character-set-server=utf8, --collation-server=utf8_bin]
|
||||
volumes_from:
|
||||
- db_data_mysql
|
||||
volume_driver: local
|
||||
|
@ -260,6 +260,7 @@ services:
|
||||
|
||||
mysql-server:
|
||||
image: mysql:5.7
|
||||
command: [mysqld, --character-set-server=utf8, --collation-server=utf8_bin]
|
||||
volumes_from:
|
||||
- db_data_mysql
|
||||
volume_driver: local
|
||||
|
@ -252,6 +252,7 @@ services:
|
||||
|
||||
mysql-server:
|
||||
image: mysql:5.7
|
||||
command: [mysqld, --character-set-server=utf8, --collation-server=utf8_bin]
|
||||
volumes_from:
|
||||
- db_data_mysql
|
||||
volume_driver: local
|
||||
|
@ -261,6 +261,7 @@ services:
|
||||
|
||||
mysql-server:
|
||||
image: mysql:5.7
|
||||
command: [mysqld, --character-set-server=utf8, --collation-server=utf8_bin]
|
||||
volumes_from:
|
||||
- db_data_mysql
|
||||
volume_driver: local
|
||||
|
@ -253,6 +253,7 @@ services:
|
||||
|
||||
mysql-server:
|
||||
image: mysql:5.7
|
||||
command: [mysqld, --character-set-server=utf8, --collation-server=utf8_bin]
|
||||
volumes_from:
|
||||
- db_data_mysql
|
||||
volume_driver: local
|
||||
|
@ -261,6 +261,7 @@ services:
|
||||
|
||||
mysql-server:
|
||||
image: mysql:5.7
|
||||
command: [mysqld, --character-set-server=utf8, --collation-server=utf8_bin]
|
||||
volumes_from:
|
||||
- db_data_mysql
|
||||
volume_driver: local
|
||||
|
@ -252,6 +252,7 @@ services:
|
||||
|
||||
mysql-server:
|
||||
image: mysql:5.7
|
||||
command: [mysqld, --character-set-server=utf8, --collation-server=utf8_bin]
|
||||
volumes_from:
|
||||
- db_data_mysql
|
||||
volume_driver: local
|
||||
|
@ -260,6 +260,7 @@ services:
|
||||
|
||||
mysql-server:
|
||||
image: mysql:5.7
|
||||
command: [mysqld, --character-set-server=utf8, --collation-server=utf8_bin]
|
||||
volumes_from:
|
||||
- db_data_mysql
|
||||
volume_driver: local
|
||||
|
@ -92,6 +92,8 @@ RUN apk add ${APK_FLAGS_DEV} --virtual build-dependencies \
|
||||
make -j"$(nproc)" -s dbschema 1>/dev/null && \
|
||||
make -j"$(nproc)" -s 1>/dev/null && \
|
||||
cp src/zabbix_proxy/zabbix_proxy /usr/sbin/zabbix_proxy && \
|
||||
cp src/zabbix_get/zabbix_get /usr/bin/zabbix_get && \
|
||||
cp src/zabbix_sender/zabbix_sender /usr/bin/zabbix_sender && \
|
||||
cp conf/zabbix_proxy.conf /etc/zabbix/zabbix_proxy.conf && \
|
||||
chown --quiet -R zabbix:root /etc/zabbix && \
|
||||
cp database/${DB_TYPE}/schema.sql /usr/share/doc/zabbix-proxy-${DB_TYPE}/ && \
|
||||
|
@ -18,6 +18,6 @@ docker build -t zabbix-$app_component-$app_database:$os-$version -f Dockerfile .
|
||||
#docker rm -f zabbix-$app_component-$app_database
|
||||
#docker rm -f mysql-server
|
||||
|
||||
#docker run --name mysql-server -t -e MYSQL_DATABASE="zabbix" -e MYSQL_USER="zabbix" -e MYSQL_PASSWORD="zabbix" -e MYSQL_RANDOM_ROOT_PASSWORD=true -d mysql:5.7
|
||||
#docker run --name mysql-server -t -e MYSQL_DATABASE="zabbix" -e MYSQL_USER="zabbix" -e MYSQL_PASSWORD="zabbix" -e MYSQL_RANDOM_ROOT_PASSWORD=true -d mysql:5.7 --character-set-server=utf8 --collation-server=utf8_bin
|
||||
#sleep 5
|
||||
#docker run --name zabbix-$app_component-$app_database -t -d --link mysql-server:mysql --link zabbix-server:zabbix-server zabbix-$app_component-$app_database:$os-$version
|
||||
|
@ -98,6 +98,8 @@ RUN apt-get ${APT_FLAGS_COMMON} update && \
|
||||
make -j"$(nproc)" -s dbschema 1>/dev/null && \
|
||||
make -j"$(nproc)" -s 1>/dev/null && \
|
||||
cp src/zabbix_proxy/zabbix_proxy /usr/sbin/zabbix_proxy && \
|
||||
cp src/zabbix_get/zabbix_get /usr/bin/zabbix_get && \
|
||||
cp src/zabbix_sender/zabbix_sender /usr/bin/zabbix_sender && \
|
||||
cp conf/zabbix_proxy.conf /etc/zabbix/zabbix_proxy.conf && \
|
||||
chown --quiet -R zabbix:root /etc/zabbix && \
|
||||
cp database/${DB_TYPE}/schema.sql /usr/share/doc/zabbix-proxy-${DB_TYPE}/ && \
|
||||
|
@ -18,6 +18,6 @@ docker build -t zabbix-$app_component-$app_database:$os-$version -f Dockerfile .
|
||||
#docker rm -f zabbix-$app_component-$app_database
|
||||
#docker rm -f mysql-server
|
||||
|
||||
#docker run --name mysql-server -t -e MYSQL_DATABASE="zabbix" -e MYSQL_USER="zabbix" -e MYSQL_PASSWORD="zabbix" -e MYSQL_RANDOM_ROOT_PASSWORD=true -d mysql:5.7
|
||||
#docker run --name mysql-server -t -e MYSQL_DATABASE="zabbix" -e MYSQL_USER="zabbix" -e MYSQL_PASSWORD="zabbix" -e MYSQL_RANDOM_ROOT_PASSWORD=true -d mysql:5.7 --character-set-server=utf8 --collation-server=utf8_bin
|
||||
#sleep 5
|
||||
#docker run --name zabbix-$app_component-$app_database -t -d --link mysql-server:mysql --link zabbix-server:zabbix-server zabbix-$app_component-$app_database:$os-$version
|
@ -88,6 +88,8 @@ RUN apk add ${APK_FLAGS_DEV} --virtual build-dependencies \
|
||||
make -j"$(nproc)" -s dbschema 1>/dev/null && \
|
||||
make -j"$(nproc)" -s 1>/dev/null && \
|
||||
cp src/zabbix_proxy/zabbix_proxy /usr/sbin/zabbix_proxy && \
|
||||
cp src/zabbix_get/zabbix_get /usr/bin/zabbix_get && \
|
||||
cp src/zabbix_sender/zabbix_sender /usr/bin/zabbix_sender && \
|
||||
cp conf/zabbix_proxy.conf /etc/zabbix/zabbix_proxy.conf && \
|
||||
chown --quiet -R zabbix:root /etc/zabbix && \
|
||||
cd /tmp/ && \
|
||||
|
@ -96,6 +96,8 @@ RUN apt-get ${APT_FLAGS_COMMON} update && \
|
||||
make -j"$(nproc)" -s dbschema 1>/dev/null && \
|
||||
make -j"$(nproc)" -s 1>/dev/null && \
|
||||
cp src/zabbix_proxy/zabbix_proxy /usr/sbin/zabbix_proxy && \
|
||||
cp src/zabbix_get/zabbix_get /usr/bin/zabbix_get && \
|
||||
cp src/zabbix_sender/zabbix_sender /usr/bin/zabbix_sender && \
|
||||
cp conf/zabbix_proxy.conf /etc/zabbix/zabbix_proxy.conf && \
|
||||
chown --quiet -R zabbix:root /etc/zabbix && \
|
||||
cd /tmp/ && \
|
||||
|
@ -93,6 +93,8 @@ RUN apk add ${APK_FLAGS_DEV} --virtual build-dependencies \
|
||||
make -j"$(nproc)" -s dbschema 1>/dev/null && \
|
||||
make -j"$(nproc)" -s 1>/dev/null && \
|
||||
cp src/zabbix_server/zabbix_server /usr/sbin/zabbix_server && \
|
||||
cp src/zabbix_get/zabbix_get /usr/bin/zabbix_get && \
|
||||
cp src/zabbix_sender/zabbix_sender /usr/bin/zabbix_sender && \
|
||||
cp conf/zabbix_server.conf /etc/zabbix/zabbix_server.conf && \
|
||||
chown --quiet -R zabbix:root /etc/zabbix && \
|
||||
cp database/${DB_TYPE}/schema.sql /usr/share/doc/zabbix-server-${DB_TYPE}/ && \
|
||||
|
@ -18,6 +18,6 @@ docker build -t zabbix-$app_component-$app_database:$os-$version -f Dockerfile .
|
||||
#docker rm -f zabbix-$app_component-$app_database
|
||||
#docker rm -f mysql-server
|
||||
|
||||
#docker run --name mysql-server -t -e MYSQL_DATABASE="zabbix" -e MYSQL_USER="zabbix" -e MYSQL_PASSWORD="zabbix" -e MYSQL_RANDOM_ROOT_PASSWORD=true -d mysql:5.7
|
||||
#docker run --name mysql-server -t -e MYSQL_DATABASE="zabbix" -e MYSQL_USER="zabbix" -e MYSQL_PASSWORD="zabbix" -e MYSQL_RANDOM_ROOT_PASSWORD=true -d mysql:5.7 --character-set-server=utf8 --collation-server=utf8_bin
|
||||
#sleep 5
|
||||
#docker run --name zabbix-$app_component-$app_database -t -d --link mysql-server:mysql zabbix-$app_component-$app_database:$os-$version
|
||||
|
@ -99,6 +99,8 @@ RUN apt-get ${APT_FLAGS_COMMON} update && \
|
||||
make -j"$(nproc)" -s dbschema 1>/dev/null && \
|
||||
make -j"$(nproc)" -s 1>/dev/null && \
|
||||
cp src/zabbix_server/zabbix_server /usr/sbin/zabbix_server && \
|
||||
cp src/zabbix_get/zabbix_get /usr/bin/zabbix_get && \
|
||||
cp src/zabbix_sender/zabbix_sender /usr/bin/zabbix_sender && \
|
||||
cp conf/zabbix_server.conf /etc/zabbix && \
|
||||
chown --quiet -R zabbix:root /etc/zabbix && \
|
||||
cp database/${DB_TYPE}/schema.sql /usr/share/doc/zabbix-server-${DB_TYPE}/ && \
|
||||
|
@ -18,6 +18,6 @@ docker build -t zabbix-$app_component-$app_database:$os-$version -f Dockerfile .
|
||||
#docker rm -f zabbix-$app_component-$app_database
|
||||
#docker rm -f mysql-server
|
||||
|
||||
#docker run --name mysql-server -t -e MYSQL_DATABASE="zabbix" -e MYSQL_USER="zabbix" -e MYSQL_PASSWORD="zabbix" -e MYSQL_RANDOM_ROOT_PASSWORD=true -d mysql:5.7
|
||||
#docker run --name mysql-server -t -e MYSQL_DATABASE="zabbix" -e MYSQL_USER="zabbix" -e MYSQL_PASSWORD="zabbix" -e MYSQL_RANDOM_ROOT_PASSWORD=true -d mysql:5.7 --character-set-server=utf8 --collation-server=utf8_bin
|
||||
#sleep 5
|
||||
#docker run --name zabbix-$app_component-$app_database -t -d --link mysql-server:mysql zabbix-$app_component-$app_database:$os-$version
|
||||
|
@ -93,6 +93,8 @@ RUN apk add ${APK_FLAGS_DEV} --virtual build-dependencies \
|
||||
make -j"$(nproc)" -s dbschema 1>/dev/null && \
|
||||
make -j"$(nproc)" -s 1>/dev/null && \
|
||||
cp src/zabbix_server/zabbix_server /usr/sbin/zabbix_server && \
|
||||
cp src/zabbix_get/zabbix_get /usr/bin/zabbix_get && \
|
||||
cp src/zabbix_sender/zabbix_sender /usr/bin/zabbix_sender && \
|
||||
cp conf/zabbix_server.conf /etc/zabbix/zabbix_server.conf && \
|
||||
chown --quiet -R zabbix:root /etc/zabbix && \
|
||||
cp database/${DB_TYPE}/schema.sql /usr/share/doc/zabbix-server-${DB_TYPE}/ && \
|
||||
|
@ -99,6 +99,8 @@ RUN apt-get ${APT_FLAGS_COMMON} update && \
|
||||
make -j"$(nproc)" -s dbschema 1>/dev/null && \
|
||||
make -j"$(nproc)" -s 1>/dev/null && \
|
||||
cp src/zabbix_server/zabbix_server /usr/sbin/zabbix_server && \
|
||||
cp src/zabbix_get/zabbix_get /usr/bin/zabbix_get && \
|
||||
cp src/zabbix_sender/zabbix_sender /usr/bin/zabbix_sender && \
|
||||
cp conf/zabbix_server.conf /etc/zabbix/zabbix_server.conf && \
|
||||
chown --quiet -R zabbix:root /etc/zabbix && \
|
||||
cp database/${DB_TYPE}/schema.sql /usr/share/doc/zabbix-server-${DB_TYPE}/ && \
|
||||
|
@ -18,6 +18,6 @@ docker build -t zabbix-$app_component-$app_database:$os-$version -f Dockerfile .
|
||||
#docker rm -f zabbix-$app_component-$app_database
|
||||
#docker rm -f mysql-server
|
||||
|
||||
#docker run --name mysql-server -t -e MYSQL_DATABASE="zabbix" -e MYSQL_USER="zabbix" -e MYSQL_PASSWORD="zabbix" -e MYSQL_RANDOM_ROOT_PASSWORD=true -d mysql:5.7
|
||||
#docker run --name mysql-server -t -e MYSQL_DATABASE="zabbix" -e MYSQL_USER="zabbix" -e MYSQL_PASSWORD="zabbix" -e MYSQL_RANDOM_ROOT_PASSWORD=true -d mysql:5.7 --character-set-server=utf8 --collation-server=utf8_bin
|
||||
#sleep 5
|
||||
#docker run --name zabbix-$app_component-$app_database -t -d --link mysql-server:mysql --link zabbix-server:zabbix-server zabbix-$app_component-$app_database:$os-$version
|
||||
|
@ -18,6 +18,6 @@ docker build -t zabbix-$app_component-$app_database:$os-$version -f Dockerfile .
|
||||
#docker rm -f zabbix-$app_component-$app_database
|
||||
#docker rm -f mysql-server
|
||||
|
||||
#docker run --name mysql-server -t -e MYSQL_DATABASE="zabbix" -e MYSQL_USER="zabbix" -e MYSQL_PASSWORD="zabbix" -e MYSQL_RANDOM_ROOT_PASSWORD=true -d mysql:5.7
|
||||
#docker run --name mysql-server -t -e MYSQL_DATABASE="zabbix" -e MYSQL_USER="zabbix" -e MYSQL_PASSWORD="zabbix" -e MYSQL_RANDOM_ROOT_PASSWORD=true -d mysql:5.7 --character-set-server=utf8 --collation-server=utf8_bin
|
||||
#sleep 5
|
||||
#docker run --name zabbix-$app_component-$app_database -t -d --link mysql-server:mysql --link zabbix-server:zabbix-server zabbix-$app_component-$app_database:$os-$version
|
||||
|
@ -18,6 +18,6 @@ docker build -t zabbix-$app_component-$app_database:$os-$version -f Dockerfile .
|
||||
#docker rm -f zabbix-$app_component-$app_database
|
||||
#docker rm -f mysql-server
|
||||
|
||||
#docker run --name mysql-server -t -e MYSQL_DATABASE="zabbix" -e MYSQL_USER="zabbix" -e MYSQL_PASSWORD="zabbix" -e MYSQL_RANDOM_ROOT_PASSWORD=true -d mysql:5.7
|
||||
#docker run --name mysql-server -t -e MYSQL_DATABASE="zabbix" -e MYSQL_USER="zabbix" -e MYSQL_PASSWORD="zabbix" -e MYSQL_RANDOM_ROOT_PASSWORD=true -d mysql:5.7 --character-set-server=utf8 --collation-server=utf8_bin
|
||||
#sleep 5
|
||||
#docker run --name zabbix-$app_component-$app_database -t -d --link mysql-server:mysql --link zabbix-server:zabbix-server zabbix-$app_component-$app_database:$os-$version
|
||||
|
@ -18,6 +18,6 @@ docker build -t zabbix-$app_component-$app_database:$os-$version -f Dockerfile .
|
||||
#docker rm -f zabbix-$app_component-$app_database
|
||||
#docker rm -f mysql-server
|
||||
|
||||
#docker run --name mysql-server -t -e MYSQL_DATABASE="zabbix" -e MYSQL_USER="zabbix" -e MYSQL_PASSWORD="zabbix" -e MYSQL_RANDOM_ROOT_PASSWORD=true -d mysql:5.7
|
||||
#docker run --name mysql-server -t -e MYSQL_DATABASE="zabbix" -e MYSQL_USER="zabbix" -e MYSQL_PASSWORD="zabbix" -e MYSQL_RANDOM_ROOT_PASSWORD=true -d mysql:5.7 --character-set-server=utf8 --collation-server=utf8_bin
|
||||
#sleep 5
|
||||
#docker run --name zabbix-$app_component-$app_database -t -d --link mysql-server:mysql --link zabbix-server:zabbix-server zabbix-$app_component-$app_database:$os-$version
|
||||
|
Loading…
Reference in New Issue
Block a user