mirror of
https://github.com/tickstep/aliyunpan.git
synced 2025-01-23 14:32:14 +08:00
add default ip type as ipv4 for docker
This commit is contained in:
parent
68437a7a4c
commit
2849dbb472
@ -63,6 +63,7 @@ ENV ALIYUNPAN_SYNC_LOG=false
|
|||||||
ENV ALIYUNPAN_LOCAL_DELAY_TIME=3
|
ENV ALIYUNPAN_LOCAL_DELAY_TIME=3
|
||||||
ENV ALIYUNPAN_SCAN_INTERVAL_TIME=1
|
ENV ALIYUNPAN_SCAN_INTERVAL_TIME=1
|
||||||
ENV ALIYUNPAN_DEVICE_ID=""
|
ENV ALIYUNPAN_DEVICE_ID=""
|
||||||
|
ENV ALIYUNPAN_IP_TYPE="ipv4"
|
||||||
|
|
||||||
# 运行
|
# 运行
|
||||||
ENTRYPOINT ./app.sh
|
ENTRYPOINT ./app.sh
|
@ -59,4 +59,8 @@ else
|
|||||||
./aliyunpan config set -file_record_config 2
|
./aliyunpan config set -file_record_config 2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# IP type
|
||||||
|
./aliyunpan config set -ip_type ${ALIYUNPAN_IP_TYPE}
|
||||||
|
|
||||||
|
# run
|
||||||
./aliyunpan sync start -dp ${ALIYUNPAN_DOWNLOAD_PARALLEL} -up ${ALIYUNPAN_UPLOAD_PARALLEL} -dbs ${ALIYUNPAN_DOWNLOAD_BLOCK_SIZE} -ubs ${ALIYUNPAN_UPLOAD_BLOCK_SIZE} -log ${ALIYUNPAN_SYNC_LOG} -ldt ${ALIYUNPAN_LOCAL_DELAY_TIME} -cycle ${ALIYUNPAN_SYNC_CYCLE} -sit ${ALIYUNPAN_SCAN_INTERVAL_TIME}
|
./aliyunpan sync start -dp ${ALIYUNPAN_DOWNLOAD_PARALLEL} -up ${ALIYUNPAN_UPLOAD_PARALLEL} -dbs ${ALIYUNPAN_DOWNLOAD_BLOCK_SIZE} -ubs ${ALIYUNPAN_UPLOAD_BLOCK_SIZE} -log ${ALIYUNPAN_SYNC_LOG} -ldt ${ALIYUNPAN_LOCAL_DELAY_TIME} -cycle ${ALIYUNPAN_SYNC_CYCLE} -sit ${ALIYUNPAN_SCAN_INTERVAL_TIME}
|
||||||
|
Loading…
Reference in New Issue
Block a user