--- 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: - "3000:3000" # http port - "3001:3001" # https port restart: unless-stopped environment: - PUID=1000 # set user id according to your system - PGID=100 # set group id according to your system # - CUSTOM_USER= # recommended to set a custom user name # - PASSWORD= # recommended to set a password for selkies web ui shm_size: "1gb" # recommended, will improve performance