博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
docker-compose
阅读量:5274 次
发布时间:2019-06-14

本文共 1704 字,大约阅读时间需要 5 分钟。

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

转载于:https://www.cnblogs.com/li-lun/p/9872300.html

你可能感兴趣的文章
Parrot虚拟机
查看>>
Teamcenter10 step-by-step installation in Linux env-Oracle Server Patch
查看>>
Struts2学习(三)
查看>>
Callable和Runnable和FutureTask
查看>>
GitHub 多人协作开发 三种方式:
查看>>
文本域添加编辑器
查看>>
Yum安装MySQL以及相关目录路径和修改目录
查看>>
java获取hostIp和hostName
查看>>
关于web服务器和数据库的各种说法(搜集到的)
查看>>
《TCP/IP 详解 卷一》读书笔记 -----第四章 ARP
查看>>
C# Stream 和 byte[] 之间的转换
查看>>
OMG: daily scrum nine
查看>>
redis与spring结合错误情况
查看>>
Vue.js的从入门到放弃进击录(二)
查看>>
第六章 字节码执行方式--解释执行和JIT
查看>>
Mesh属性[Unity]
查看>>
ajax与java后台交互
查看>>
面向对象之元类
查看>>
MySQL常用函数
查看>>
实现绘制图形的ToolBar
查看>>