mirror of
https://github.com/yanhao98/docker-example.git
synced 2025-07-13 16:20:50 +08:00
SHARE_IGNORE="mysql.sock|.unison"
This commit is contained in:
@ -53,6 +53,7 @@ SOURCE1=/path/to/backup1
|
|||||||
SERVER_PORT=2222
|
SERVER_PORT=2222
|
||||||
|
|
||||||
docker run -d --name unison-unicloud-client \
|
docker run -d --name unison-unicloud-client \
|
||||||
|
-e SHARE_IGNORE="mysql.sock|.unison" \
|
||||||
-e TZ=Asia/Shanghai \
|
-e TZ=Asia/Shanghai \
|
||||||
-e USER=root -e USER_UID=0 \
|
-e USER=root -e USER_UID=0 \
|
||||||
--restart on-failure \
|
--restart on-failure \
|
||||||
|
Reference in New Issue
Block a user