@@ -21,6 +21,7 @@ docker run -d --rm --net=host \
21
21
-e TARS_OPEN_WEB=true \
22
22
-e TARS_START_PORT=9999 \
23
23
--name framework-pro \
24
+ -v /data/tars:/data/tars \
24
25
docker.tarsyun.com/tars-pro/framework-pro:v1.0.0
25
26
```
26
27
@@ -51,6 +52,7 @@ docker run -d --rm --net=host \
51
52
-e TARS_LOCALIP=" 192.168.11.1" \
52
53
-e TARS_OPEN_WEB=true \
53
54
-e TARS_START_PORT=9000 \
55
+ -v /data/tars:/data/tars \
54
56
--name framework-pro \
55
57
docker.tarsyun.com/tars-pro/framework-pro:v1.0.0
56
58
```
@@ -65,6 +67,7 @@ docker run -d --rm --net=host \
65
67
-e TARS_LOCALIP=" 192.168.11.2" \
66
68
-e TARS_OPEN_WEB=true \
67
69
-e TARS_START_PORT=9100 \
70
+ -v /data/tars:/data/tars \
68
71
--name framework-pro \
69
72
docker.tarsyun.com/tars-pro/framework-pro:v1.0.0
70
73
```
@@ -79,6 +82,7 @@ docker run -d --rm --net=host \
79
82
-e TARS_LOCALIP=" 192.168.11.3" \
80
83
-e TARS_OPEN_WEB=true \
81
84
-e TARS_START_PORT=9200 \
85
+ -v /data/tars:/data/tars \
82
86
--name framework-pro \
83
87
docker.tarsyun.com/tars-pro/framework-pro:v1.0.0
84
88
```
@@ -96,6 +100,7 @@ docker run -d --rm --net=host \
96
100
-e TARS_LOCALIP=" 192.168.11.1" \
97
101
-e TARS_OPEN_WEB=true \
98
102
-e TARS_START_PORT=9000 \
103
+ -v /data/tars:/data/tars \
99
104
--name framework-pro-1 \
100
105
docker.tarsyun.com/tars-pro/framework-pro:v1.0.0
101
106
```
@@ -108,6 +113,7 @@ docker run -d --rm --net=host \
108
113
-e TARS_REGISTRY=" tcp -h 192.168.11.1 -p 7891" \
109
114
-e TARS_LOCALIP=" 192.168.11.1" \
110
115
-e TARS_START_PORT=9100 \
116
+ -v /data/tars:/data/tars \
111
117
--name framework-pro-2 \
112
118
docker.tarsyun.com/tars-pro/framework-pro:v1.0.0
113
119
```
@@ -121,6 +127,7 @@ docker run -d --rm --net=host \
121
127
-e TARS_REGISTRY=" tcp -h 192.168.11.3 -p 7892" \
122
128
-e TARS_LOCALIP=" 192.168.11.1" \
123
129
-e TARS_START_PORT=9200 \
130
+ -v /data/tars:/data/tars \
124
131
--name framework-pro-3 \
125
132
docker.tarsyun.com/tars-pro/framework-pro:v1.0.0
126
133
@@ -145,6 +152,7 @@ docker run -d --rm --net=host \
145
152
-e TARS_NODENAME=" $nodename " \
146
153
-e TARS_LOCALIP=" $localip " \
147
154
-e TARS_OPEN_WEB=true \
155
+ -v /data/tars:/data/tars \
148
156
--name $nodename \
149
157
docker.tarsyun.com/tars-pro/framework-pro:v1.0.0
150
158
```
@@ -159,6 +167,7 @@ docker run -d --rm --net=host \
159
167
-e TARS_NODENAME=" tarsnode-4" \
160
168
-e TARS_LOCALIP=" 192.168.11.1" \
161
169
-e TARS_START_PORT=9200 \
170
+ -v /data/tars:/data/tars \
162
171
--name tarsnode-4 \
163
172
docker.tarsyun.com/tars-pro/framework-pro:v1.0.0
164
173
```
0 commit comments