version: '3.7'
services: redis_db: image: bitnami/redis:latest container_name: redis_db restart: always ports: - 6379:6379 environment: ALLOW_EMPTY_PASSWORD: 'yes' postgres_db: image: postgres container_name: postgres_db restart: always environment: POSTGRES_USER: root POSTGRES_PASSWORD: '123' mysql_db: image: mysql:5.7 container_name: mysql_db restart: always environment: MYSQL_ROOT_PASSWORD: '123' mysql_admin: image: phpmyadmin/phpmyadmin container_name: mysql_admin restart: always ports: - 8080:8001 depends_on: - mysql_db links: - mysql_db:db rabbitmq: image: rabbitmq:3.7-management container_name: rabbitmq restart: always ports: - 8080:15672 environment: RABBITMQ_DEFAULT_USER: admin RABBITMQ_DEFAULT_PASS: '123' zookeeper: image: zookeeper container_name: zookeeper restart: always es_kibana: image: nshou/elasticsearch-kibana container_name: es_kibana restart: always ports: - 9200:9200 - 5601:5601 zabbix_server: image: zabbix/zabbix-server-mysql container_name: zabbix_server restart: always depends_on: - mysql_db links: - mysql_db:mysql_db environment: DB_SERVER_HOST: mysql_db MYSQL_USER: root MYSQL_PASSWORD: '123' zabbix_web: image: zabbix/zabbix-web-nginx-mysql container_name: zabbix_web restart: always ports: - 8888:8002 depends_on: - mysql_db - zabbix_server links: - mysql_db:mysql_db - zabbix_server:zabbix_server environment: DB_SERVER_HOST: mysql_db MYSQL_USER: root MYSQL_PASSWORD: '123' ZBX_SERVER_HOST: zabbix_server PHP_TZ: Asia/Shanghai grafana: image: grafana/grafana container_name: grafana restart: always ports: - 3000:3000 eureka: image: springcloud/eureka container_name: eureka restart: always ports: - 8761:8761