mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
Updated Canal Admin Docker (markdown)
@@ -50,8 +50,16 @@ wget https://raw.githubusercontent.com/alibaba/canal/master/docker/run_admin.sh
|
|||||||
sh run_admin.sh -e server.port=8089 \
|
sh run_admin.sh -e server.port=8089 \
|
||||||
-e canal.adminUser=admin \
|
-e canal.adminUser=admin \
|
||||||
-e canal.adminPasswd=admin
|
-e canal.adminPasswd=admin
|
||||||
|
|
||||||
|
# 指定外部的mysql作为admin的库
|
||||||
|
sh run_admin.sh -e server.port=8089 \
|
||||||
|
-e spring.datasource.address=xxx \
|
||||||
|
-e spring.datasource.database=xx \
|
||||||
|
-e spring.datasource.username=xx
|
||||||
|
-e spring.datasource.password=xx
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
注意点:
|
注意点:
|
||||||
* -e参数里可以指定以前application.yml里所有配置的key和value,springboot启动时会读取-e指定的变量
|
* -e参数里可以指定以前application.yml里所有配置的key和value,springboot启动时会读取-e指定的变量
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user