User Passnot changing latest version

Hey. I have setup n8n in a server using docker compose.
Changed the use and pass in the env file and on the docker compose file using them.

Still I can only login using user:password. Is there an addn step? This is my compose file.

version: "3"

services:
  n8n:
    image: n8nio/n8n:latest
    restart: always
    ports:
      - "5678:5678"
    expose: 
      - 5678
    labels:
      - traefik.enable=true
      - traefik.http.routers.n8n.rule=Host(`${SUBDOMAIN}.${DOMAIN_NAME}`)
      - traefik.http.routers.n8n.tls=true
      - traefik.http.routers.n8n.entrypoints=web
      - traefik.http.routers.n8n.tls.certresolver=letsencrypt
      - traefik.docker.network=traefik_web
    environment:
      - N8N_BASIC_AUTH_ACTIVE=true
      - N8N_BASIC_AUTH_USER=${N8N_BASIC_AUTH_USER}
      - N8N_BASIC_AUTH_PASSWORD=${N8N_BASIC_AUTH_PASSWORD}
      - N8N_HOST=${SUBDOMAIN}.${DOMAIN_NAME}
      - N8N_PORT=5678
      - N8N_PROTOCOL=https
      - NODE_ENV=production
      - WEBHOOK_TUNNEL_URL=https://${SUBDOMAIN}.${DOMAIN_NAME}/
      - GENERIC_TIMEZONE=${GENERIC_TIMEZONE}
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - ./n8n:/home/node/.n8n
    networks:
        - web
        
networks:
    web:
        external:
            name: traefik_web

Hey @Rahul_Purohit!

Did you follow the steps mentioned here: Server Setup | Docs?

You can check the docker-compose file in the documentation for reference.

Yes I have modified the compose file per my usage. Everything works it’s just I am not able to change password.

Did you change it after you did run the docker-compose file? Because that will not take any effect. If you change values you have to then restart it.

I restarted the doker container. Couple of times actually.

Did you just restart it or did you actually remove it and then start again?

So did you do the following?

docker-compose stop
docker-compose rm
docker-compose start -d