-
Notifications
You must be signed in to change notification settings - Fork 237
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
21 lines (21 loc) · 814 Bytes
/
docker-compose.yml
File metadata and controls
21 lines (21 loc) · 814 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
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