mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
fixed issue #5073 , optimize docker build
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
<!-- or whenever the file size reaches 100MB -->
|
<!-- or whenever the file size reaches 100MB -->
|
||||||
<maxFileSize>512MB</maxFileSize>
|
<maxFileSize>512MB</maxFileSize>
|
||||||
</timeBasedFileNamingAndTriggeringPolicy>
|
</timeBasedFileNamingAndTriggeringPolicy>
|
||||||
<maxHistory>60</maxHistory>
|
<maxHistory>14</maxHistory>
|
||||||
</rollingPolicy>
|
</rollingPolicy>
|
||||||
<encoder>
|
<encoder>
|
||||||
<pattern>
|
<pattern>
|
||||||
@@ -50,7 +50,7 @@
|
|||||||
<!-- or whenever the file size reaches 100MB -->
|
<!-- or whenever the file size reaches 100MB -->
|
||||||
<maxFileSize>32MB</maxFileSize>
|
<maxFileSize>32MB</maxFileSize>
|
||||||
</timeBasedFileNamingAndTriggeringPolicy>
|
</timeBasedFileNamingAndTriggeringPolicy>
|
||||||
<maxHistory>60</maxHistory>
|
<maxHistory>14</maxHistory>
|
||||||
</rollingPolicy>
|
</rollingPolicy>
|
||||||
<encoder>
|
<encoder>
|
||||||
<pattern>
|
<pattern>
|
||||||
@@ -71,7 +71,7 @@
|
|||||||
<!-- or whenever the file size reaches 100MB -->
|
<!-- or whenever the file size reaches 100MB -->
|
||||||
<maxFileSize>512MB</maxFileSize>
|
<maxFileSize>512MB</maxFileSize>
|
||||||
</timeBasedFileNamingAndTriggeringPolicy>
|
</timeBasedFileNamingAndTriggeringPolicy>
|
||||||
<maxHistory>60</maxHistory>
|
<maxHistory>14</maxHistory>
|
||||||
</rollingPolicy>
|
</rollingPolicy>
|
||||||
<encoder charset="UTF-8">
|
<encoder charset="UTF-8">
|
||||||
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{56} - %msg%n</pattern>
|
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{56} - %msg%n</pattern>
|
||||||
|
|||||||
@@ -12,8 +12,9 @@ for e in $(ls /alidata/init/*) ; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
echo "==> INIT DEFAULT"
|
echo "==> INIT DEFAULT"
|
||||||
systemctl start sshd
|
# disable systemctl
|
||||||
systemctl start crond
|
# systemctl start sshd
|
||||||
|
# systemctl start crond
|
||||||
|
|
||||||
#echo "check hostname -i: `hostname -i`"
|
#echo "check hostname -i: `hostname -i`"
|
||||||
#hti_num=`hostname -i|awk '{print NF}'`
|
#hti_num=`hostname -i|awk '{print NF}'`
|
||||||
|
|||||||
Reference in New Issue
Block a user