作者:QueenieYam任嘉明 | 来源:互联网 | 2023-08-13 04:21
目录MySQL8.0RedisElasticSearch8.0-KibanaRabbitMQMySQL8.0dockerpullmysqlmysql-server:8.0doc
目录 MySQL8.0 Redis ElasticSearch8.0-Kibana RabbitMQ
MySQL8.0 docker pull mysql/mysql-server:8.0 docker run -itd --name mysql-test -p 3306:3306 -e MYSQL_ROOT_PASSWORD=123456 mysql/mysql-server:8.0
Redis docker pull redisdocker run --restart=always --log-opt max-size=100m --log-opt max-file=2 -p 6379:6379 --name myredis -v /usr/local/docker/redis/redis.conf:/etc/redis/redis.conf -v /usr/local/docker/redis/data:/data -d redis redis-server /etc/redis/redis.conf --appendonly yes --requirepass 123456
ElasticSearch8.0-Kibana docker network create elastic docker pull docker.elastic.co/elasticsearch/elasticsearch:7.12.1 docker run --name es01-test --net elastic -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.12.1docker pull docker.elastic.co/kibana/kibana:7.12.1 docker run --name kib01-test --net elastic -p 5601:5601 -e "ELASTICSEARCH_HOSTS=http://es01-test:9200" docker.elastic.co/kibana/kibana:7.12.1
RabbitMQ docker pull rabbitmq:management docker run -d -p 5672:5672 -p 15672:15672 --name rabbitmq rabbitmq:management