monitoringartist / dockbix-xxl

:whale: Dockerized Zabbix - server, web, proxy, java gateway, snmpd with additional extensions
https://hub.docker.com/u/monitoringartist/
GNU General Public License v2.0
377 stars 139 forks source link

Dockbix-db-storage won´t start - STATUS: Exited (0) #106

Closed C4lp4s closed 6 years ago

C4lp4s commented 6 years ago

Description

Dockbix-db-storage won´t start. I have used the following compose file:


version: '2'
services:
  zabbix-db-storage:
    image: busybox:latest
    volumes:
      - /var/lib/mysql
  zabbix-db:
    image: monitoringartist/zabbix-db-mariadb
    volumes:
      - /backups:/backups
      - /etc/localtime:/etc/localtime:ro
    volumes_from:
      - zabbix-db-storage
    environment:
      - MARIADB_USER=mariadbuser
      - MARIADB_PASS=***
  zabbix-server:
    image: monitoringartist/dockbix-xxl:latest
    ports:
      - "8090:80"
      - "10051:10051"
    volumes:
      - /etc/localtime:/etc/localtime:ro
    links:
      - zabbix-db:zabbix.db
    environment:
      - ZS_DBHost=zabbix.db
      - ZS_DBUser=mariadbuser
      - ZS_DBPassword=***

What i have done

  1. Created the compose file and named it "docker-compose.yml"
  2. Started it with "sudo docker-compuse up -d"
  3. Saw that every container expect the Dockbix-db-storage is running.

You Docker knowledge level

I´m new to Docker :)

King regards

jangaraj commented 6 years ago

That's OK. zabbix-db-storage creates only volume in the container. It's not running container. It's only example of creating "storage". It works, but you may need a different concept. Please google "docker persistent storage" for other options.

C4lp4s commented 6 years ago

Thank you for your fast answer. That sounds good but now I have another problem:

2018-02-06_10h50_42

Is there a hack for this too?

Best regards! :)

jangaraj commented 6 years ago

Check the logs of your containers. Pls, don't use this issue tracker as a support.