From c0eb66a4723d67e9e9afd0875d673ce3d62138fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= <37316281+yanhao98@users.noreply.github.com> Date: Sun, 20 Oct 2024 19:56:33 +0800 Subject: [PATCH] =?UTF-8?q?unicloud-unison=20=E6=97=B6=E5=8C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- stacks/unicloud-unison/play-with-docker.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/stacks/unicloud-unison/play-with-docker.md b/stacks/unicloud-unison/play-with-docker.md index 34291e7..622c907 100644 --- a/stacks/unicloud-unison/play-with-docker.md +++ b/stacks/unicloud-unison/play-with-docker.md @@ -18,6 +18,7 @@ mkdir -p data shares chown -R 1000:1000 data chmod 777 shares docker run -d --name server \ + -e TZ=Asia/Shanghai \ --network host \ -e SERVER_DEBUG=True \ -e SERVER_UI_USERNAME=admin \ @@ -55,18 +56,19 @@ cat ~/data/log/sshd.log ## Client ```bash -curl 192.168.0.18:80/status -v +curl 192.168.0.8:80/status -v cd ~ rm -rf data share mkdir -p data share chmod 777 data share docker run -d --name client1 \ + -e TZ=Asia/Shanghai \ --restart on-failure \ --network host \ -e CLIENT_HOSTNAME=client_hostname1 \ -e ROLE=CLIENT \ - -e SERVER_HOSTNAME=192.168.0.18 \ + -e SERVER_HOSTNAME=192.168.0.8 \ -e SERVER_PORT=2222 \ -e SERVER_SHARE=share1 \ -e API_PROTOCOL=http \