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:
|
devices:
|
||||||
- /dev/dri:/dev/dri # optional, for hardware acceleration
|
- /dev/dri:/dev/dri # optional, for hardware acceleration
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000 # user ID
|
- PUID=1000 # user ID, set according to your system
|
||||||
- PGID=100 # group ID
|
- PGID=100 # group ID, set according to your system
|
||||||
- TZ=Asia/Shanghai # timezone
|
- TZ=Asia/Shanghai # timezone, set according to your timezone
|
||||||
- LC_ALL=zh_CN.UTF-8 # locale
|
- LC_ALL=zh_CN.UTF-8 # locale, set according to your needs
|
||||||
- AUTO_START_WECHAT=true # default is true
|
- AUTO_START_WECHAT=true # default is true
|
||||||
- AUTO_START_QQ=false # default is false
|
- AUTO_START_QQ=false # default is false
|
||||||
# - CUSTOM_USER=<Your Name> # recommended to set a custom user name
|
# - CUSTOM_USER=<Your Name> # recommended to set a custom user name
|
||||||
# - PASSWORD=<Your Password> # recommended to set a password for selkies web ui
|
# - PASSWORD=<Your Password> # recommended to set a password for selkies web ui
|
||||||
|
shm_size: "1gb" # recommended, will improve performance
|
||||||
```
|
```
|
||||||
3. **启动服务**
|
3. **启动服务**
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -84,14 +84,15 @@ docker run -it -p 3001:3001 -v ./config:/config --device /dev/dri:/dev/dri nickr
|
|||||||
devices:
|
devices:
|
||||||
- /dev/dri:/dev/dri # optional, for hardware acceleration
|
- /dev/dri:/dev/dri # optional, for hardware acceleration
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000 # user ID
|
- PUID=1000 # user ID, set according to your system
|
||||||
- PGID=100 # group ID
|
- PGID=100 # group ID, set according to your system
|
||||||
- TZ=Asia/Shanghai # timezone
|
- TZ=Asia/Shanghai # timezone, set according to your timezone
|
||||||
- LC_ALL=zh_CN.UTF-8 # locale
|
- LC_ALL=zh_CN.UTF-8 # locale, set according to your needs
|
||||||
- AUTO_START_WECHAT=true # default is true
|
- AUTO_START_WECHAT=true # default is true
|
||||||
- AUTO_START_QQ=false # default is false
|
- AUTO_START_QQ=false # default is false
|
||||||
# - CUSTOM_USER=<Your Name> # recommended to set a custom user name
|
# - CUSTOM_USER=<Your Name> # recommended to set a custom user name
|
||||||
# - PASSWORD=<Your Password> # recommended to set a password for selkies web ui
|
# - PASSWORD=<Your Password> # recommended to set a password for selkies web ui
|
||||||
|
shm_size: "1gb" # recommended, will improve performance
|
||||||
```
|
```
|
||||||
3. **Start the service**
|
3. **Start the service**
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -14,7 +14,8 @@ services:
|
|||||||
- "3001:3001" # https port
|
- "3001:3001" # https port
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
- PUID=1000 # set user id according to your system
|
||||||
- PGID=100
|
- PGID=100 # set group id according to your system
|
||||||
# - CUSTOM_USER=<Your Name> # recommended to set a custom user name
|
# - CUSTOM_USER=<Your Name> # recommended to set a custom user name
|
||||||
# - PASSWORD=<Your Password> # recommended to set a password for selkies web ui
|
# - 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