mirror of
https://github.com/nickrunning/wechat-selkies.git
synced 2026-05-09 00:24:09 +00:00
22 lines
814 B
YAML
22 lines
814 B
YAML
---
|
|
services:
|
|
wechat-selkies:
|
|
build:
|
|
context: .
|
|
image: wechat-selkies:latest
|
|
container_name: wechat-selkies
|
|
volumes:
|
|
- ./config:/config
|
|
devices:
|
|
- /dev/dri:/dev/dri # optional, for hardware acceleration
|
|
ports:
|
|
- "${HTTP_PORT:-3000}:3000" # http port
|
|
- "${HTTPS_PORT:-3001}:3001" # https port
|
|
restart: unless-stopped
|
|
environment:
|
|
- PUID=${PUID:-1000} # set user id according to your system
|
|
- PGID=${PGID:-100} # set group id according to your system
|
|
- CUSTOM_USER=${CUSTOM_USER:-} # recommended to set a custom user name
|
|
- PASSWORD=${PASSWORD:-} # recommended to set a password for selkies web ui
|
|
shm_size: "${SHM_SIZE:-1gb}" # recommended, will improve performance
|