Skip to content
This repository has been archived by the owner on Nov 5, 2023. It is now read-only.

Commit

Permalink
add user option
Browse files Browse the repository at this point in the history
  • Loading branch information
ZGLinus committed Oct 11, 2023
1 parent 6d6c9c1 commit 450b27f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ docker run -itd \
-p 6081:6081 \ # noVNC端口
-p 16530:16530 \ # chronocat端口
-e TZ=Asia/Shanghai \
-u 1000:1000 \ # 以普通用户权限运行(可选)
-e VNC_PASSWD=abc \ # VNC密码(可选)
-v $PWD/qq/config:/home/user/.config/QQ \ #数据固化
--restart always \ 重启策略(可选)
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ services:
image: zglinus/chronocat-docker:3.1.2-13107
tty: true
container_name: chronocat-docker
user: '1000:1000' # 以普通用户权限运行(可选)
restart: always
ports:
- "5900:5900"
Expand Down

0 comments on commit 450b27f

Please sign in to comment.