-
Notifications
You must be signed in to change notification settings - Fork 0
/
notes.txt
59 lines (37 loc) · 1.94 KB
/
notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
docker pull 192.168.3.80:9000/test/vue:0.0.1
docker run -d --name vuetestxxx vuetest
docker exec -it vuetest /bin/sh
================================================
#portainer#
#docker volume create portainer_data
docker run -d -p 8000:8000 -p 9000:9000 --restart always --name portainer-inst -v /var/run/docker.sock:/var/run/docker.sock -v D:/docker/portainer:/data portainer/portainer
#swaggerui#
docker run -p 9001:8080 -d --restart always --name swaggerui-inst swaggerapi/swagger-ui
#redis#
docker run --name redis-inst -p 6379:6379 --restart always -v D:/docker/redis:/data -d redis redis-server --appendonly yes
#mysql#
docker run -p 3306:3306 --name mysql-inst --restart always -v D:/docker/mysql/conf.d:/etc/mysql/conf.d -v D:/docker/mysql/data:/var/lib/mysql -v D:/docker/mysql/log:/var/log/mysql -e MYSQL_ROOT_PASSWORD=com.gixon -d mysql:5.7.27
#zookeeper#
docker run --name zookeeper1 -it -p 2181:2181 -p 2888:2888 -p 3888:3888 --restart always -d zookeeper
#rabbitmq#
docker run -d --restart always --name rabbitmq1 -p 15672:15672 -p 5672:5672 rabbitmq:management
#rocketmq server#
docker run -d -p 9876:9876 \
-v /home/rocketmq/data/namesrv/logs:/root/logs \
-v /home/rocketmq/data/namesrv/store:/root/store \
--name rmqnamesrv -e "MAX_POSSIBLE_HEAP=100000000" \
rocketmqinc/rocketmq:4.4.0 sh mqnamesrv
#rocketmq borker#
docker run -d -p 10911:10911 -p 10909:10909 \
-v /home/rocketmq/data/broker/logs:/root/logs \
-v /home/rocketmq/data/broker/store:/root/store \
-v /home/rocketmq/data/broker/conf/broker.conf:/opt/rocketmq-4.4.0/conf/broker.conf \
--name rmqbroker --link rmqnamesrv:namesrv \
-e "NAMESRV_ADDR=namesrv:9876" \
-e "MAX_POSSIBLE_HEAP=200000000" \
rocketmqinc/rocketmq:4.4.0 sh mqbroker -c /opt/rocketmq-4.4.0/conf/broker.conf
#rocketmq console#
docker run \
-e "JAVA_OPTS=-Drocketmq.namesrv.addr=127.0.0.1:9876 -Dcom.rocketmq.sendMessageWithVIPChannel=false" \
--name rmqconsole \
-p 8080:8080 -t styletang/rocketmq-console-ng