mirror of
https://github.com/nickrunning/wechat-selkies.git
synced 2026-05-09 00:24:09 +00:00
Clarify env vars and add shm size recommendation
This commit is contained in:
@@ -87,14 +87,15 @@ docker run -it -p 3001:3001 -v ./config:/config --device /dev/dri:/dev/dri nickr
|
||||
devices:
|
||||
- /dev/dri:/dev/dri # optional, for hardware acceleration
|
||||
environment:
|
||||
- PUID=1000 # user ID
|
||||
- PGID=100 # group ID
|
||||
- TZ=Asia/Shanghai # timezone
|
||||
- LC_ALL=zh_CN.UTF-8 # locale
|
||||
- PUID=1000 # user ID, set according to your system
|
||||
- PGID=100 # group ID, set according to your system
|
||||
- TZ=Asia/Shanghai # timezone, set according to your timezone
|
||||
- LC_ALL=zh_CN.UTF-8 # locale, set according to your needs
|
||||
- AUTO_START_WECHAT=true # default is true
|
||||
- AUTO_START_QQ=false # default is false
|
||||
# - CUSTOM_USER=<Your Name> # recommended to set a custom user name
|
||||
# - PASSWORD=<Your Password> # recommended to set a password for selkies web ui
|
||||
shm_size: "1gb" # recommended, will improve performance
|
||||
```
|
||||
3. **启动服务**
|
||||
```bash
|
||||
|
||||
@@ -84,14 +84,15 @@ docker run -it -p 3001:3001 -v ./config:/config --device /dev/dri:/dev/dri nickr
|
||||
devices:
|
||||
- /dev/dri:/dev/dri # optional, for hardware acceleration
|
||||
environment:
|
||||
- PUID=1000 # user ID
|
||||
- PGID=100 # group ID
|
||||
- TZ=Asia/Shanghai # timezone
|
||||
- LC_ALL=zh_CN.UTF-8 # locale
|
||||
- PUID=1000 # user ID, set according to your system
|
||||
- PGID=100 # group ID, set according to your system
|
||||
- TZ=Asia/Shanghai # timezone, set according to your timezone
|
||||
- LC_ALL=zh_CN.UTF-8 # locale, set according to your needs
|
||||
- AUTO_START_WECHAT=true # default is true
|
||||
- AUTO_START_QQ=false # default is false
|
||||
# - CUSTOM_USER=<Your Name> # recommended to set a custom user name
|
||||
# - PASSWORD=<Your Password> # recommended to set a password for selkies web ui
|
||||
shm_size: "1gb" # recommended, will improve performance
|
||||
```
|
||||
3. **Start the service**
|
||||
```bash
|
||||
|
||||
@@ -14,7 +14,8 @@ services:
|
||||
- "3001:3001" # https port
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=100
|
||||
- PUID=1000 # set user id according to your system
|
||||
- PGID=100 # set group id according to your system
|
||||
# - CUSTOM_USER=<Your Name> # recommended to set a custom user name
|
||||
# - PASSWORD=<Your Password> # recommended to set a password for selkies web ui
|
||||
shm_size: "1gb" # recommended, will improve performance
|
||||
Reference in New Issue
Block a user