Skip to content

Instantly share code, notes, and snippets.

@thiagosanches
Created April 29, 2018 23:48
Show Gist options
  • Save thiagosanches/5f281f8f56ae3abf7c1f2471ef7bed9e to your computer and use it in GitHub Desktop.
Save thiagosanches/5f281f8f56ae3abf7c1f2471ef7bed9e to your computer and use it in GitHub Desktop.
docker run --name zabbix-server-mysql -t \
-e DB_SERVER_HOST="mysql-server" \
-e MYSQL_DATABASE="zabbix" \
-e MYSQL_USER="zabbix" \
-e MYSQL_PASSWORD="zabbix_pwd" \
-e MYSQL_ROOT_PASSWORD="root_pwd" \
-e ZBX_JAVAGATEWAY="zabbix-java-gateway" \
--link mysql-server:mysql \
--link zabbix-java-gateway:zabbix-java-gateway \
-p 10051:10051 \
-d zabbix/zabbix-server-mysql:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment