Docker compose ignoring the GUID in the environment

I am trying to setup sonarr with the following environment setting, but when the container starts the user GID default back to 911. Any idea on why is docker compose ignoring my environment varible?

docker-compose.yaml:

version: "2.1"
services:
  sonarr:
    image: lscr.io/linuxserver/sonarr:latest
    container_name: sonarr
    environment:
      - TZ=Asia/Shanghai
      - PUID=1000
      - GUID=1000
      - UMASK=002
    volumes:
      - /nfs/docker_conf/sonarr:/config
      - /nfs/tv:/tv #optional
      - /nfs/download:/downloads #optional
    ports:
      - 8989:8989
    restart: unless-stopped

Because it’s PGID

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.