mirror of
https://github.com/yanhao98/docker-example.git
synced 2025-07-13 04:00:47 +08:00
更新 duplicati/README.md,添加 Docker 运行命令中的重启策略
This commit is contained in:
@ -11,7 +11,7 @@ docker run --rm -it --entrypoint bash duplicati/duplicati:canary
|
|||||||
```bash
|
```bash
|
||||||
DUPLICATI_DOMAIN=❗️❗️❗️
|
DUPLICATI_DOMAIN=❗️❗️❗️
|
||||||
DUPLICATI_PASSWORD=❗️❗️❗️
|
DUPLICATI_PASSWORD=❗️❗️❗️
|
||||||
docker run -d -p 8500:8200 --name duplicati_canary \
|
docker run -d -p 8500:8200 --restart unless-stopped --name duplicati_canary \
|
||||||
-v duplicati-data:/data \
|
-v duplicati-data:/data \
|
||||||
--mount type=bind,source=~/_docker-stacks,target/_docker-stacks \
|
--mount type=bind,source=~/_docker-stacks,target/_docker-stacks \
|
||||||
-e "TZ=Asia/Shanghai" \
|
-e "TZ=Asia/Shanghai" \
|
||||||
|
Reference in New Issue
Block a user