mirror of
https://github.com/yanhao98/docker-example.git
synced 2025-07-13 04:00:47 +08:00
更新 unicloud-unison/README.md,添加 Docker 运行命令中的主机名配置
This commit is contained in:
@ -17,6 +17,7 @@ HTTP_PORT=5001
|
|||||||
SERVER_UI_PASSWORD=
|
SERVER_UI_PASSWORD=
|
||||||
|
|
||||||
docker run -d --restart unless-stopped --name unison-unicloud-server \
|
docker run -d --restart unless-stopped --name unison-unicloud-server \
|
||||||
|
--hostname unison-unicloud-server.oo1.dev \
|
||||||
-p $SSH_PORT:22 -p $HTTP_PORT:80 \
|
-p $SSH_PORT:22 -p $HTTP_PORT:80 \
|
||||||
-e TZ=Asia/Shanghai \
|
-e TZ=Asia/Shanghai \
|
||||||
-e USER=root -e USER_UID=0 \
|
-e USER=root -e USER_UID=0 \
|
||||||
|
Reference in New Issue
Block a user