https://github.com/starbops/yadzbxs
Yet Another Docker Image with Zabbix Server
https://github.com/starbops/yadzbxs
Last synced: about 1 year ago
JSON representation
Yet Another Docker Image with Zabbix Server
- Host: GitHub
- URL: https://github.com/starbops/yadzbxs
- Owner: starbops
- License: mit
- Created: 2015-07-30T12:38:45.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-08-20T10:52:45.000Z (almost 11 years ago)
- Last Synced: 2025-05-12T11:13:06.050Z (about 1 year ago)
- Language: Shell
- Size: 27.9 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Yet Another Docker Image with Zabbix Server
## Prerequisites
Choose one of the database as backend of Zabbix server.
## MariaDB
```
$ docker run -d --name zabbix-db \
-e MARIADB_USER= \
-e MARIADB_PASS= \
million12/mariadb
```
## MySQL
```
$ docker run -d --name zabbix-db \
-e MYSQL_ROOT_PASSWORD= \
orchardup/mysql
```
## Build the Image
```
$ docker build -t yadzbxs .
```
## Run Zabbix Server
Currently the Zabbix server will connect to its backend database through
hardcoded "mysql" link name. That is, the name of the database container is of
your choice, but the name of the link must be "mysql". Otherwise the Zabbix
server container will fail.
```
$ docker run -d \
-h \
--name zabbix \
--link zabbix-db:mysql \
-e DB_USER= \
-e DB_PASS= \
-v /etc/localtime:/etc/localtime:ro \
-p 8080:80 \
-p 10051:10051 \
yadzbxs /sbin/my_init
```