Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
gmicroul authored Oct 21, 2024
1 parent 50bef11 commit 1890302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ RUN unzip /server.sql.zip && rm -f /server.sql.zip \
&& service mysql restart && mysql -e "create user zabbix@localhost identified by 'password';" \
&& service mysql restart && mysql -e "grant all privileges on zabbix.* to zabbix@localhost;" \
&& service mysql restart && mysql -e "set global log_bin_trust_function_creators = 1;" \
&& service mysql restart && mysql -e "update dbversion set mandatory=7000000;" \
&& service mysql restart && mysql -e "FLUSH PRIVILEGES;" \
&& service mysql restart && mysql -e "use zabbix;source /server.sql;" \
&& service mysql restart && mysql -e "use zabbix;update dbversion set mandatory=7000000;" \
&& cp -r /usr/share/zabbix/ /var/www/html/
# 暴露Zabbix Frontend端口
EXPOSE 80 3306 11050
Expand Down

0 comments on commit 1890302

Please sign in to comment.