The file auth.log is missing

Hi all.

I’ve a Gitlab CE 13.1.0 (fomerly 13.0.6) deployed in a Docker container. I want to enable Rack Attack to improve security. I’ve follow this how to and I test it but the IP isn’t blocked. According to the how to Rack Attack uses /var/log/gitlab/gitlab-rails/auth.log to write logs but my gitlab doesn’t have this file.

Can someone help me and say what happen with this file?

My docker compose file looks like:

version: '3'

services:
  gitlab:
    image: 'gitlab/gitlab-ce:latest'
    container_name: gitlab
    restart: unless-stopped
    hostname: 'gitlab.domain.local'
    environment:
      GITLAB_OMNIBUS_CONFIG: |
        external_url 'http://gitlab.domain.local'
        gitlab_rails['gitlab_shell_ssh_port'] = 8022

    ports:
      - '8022:22'
    networks:
      - web
    volumes:
      - /srv/docker/volumes/gitlab/config:/etc/gitlab
      - /srv/docker/volumes/gitlab/logs:/var/log/gitlab
      - /srv/docker/volumes/gitlab/data:/var/opt/gitlab
    labels:
      - "traefik.enable=true"
      - "traefik.gitlab.port=80"
      - "traefik.gitlab.backend=gitlab"
      - "traefik.gitlab.frontend.rule=Host:gitlab.domain.local"
      - "traefik.gitlab.frontend.entryPoints=http"
      - "traefik.docker.network=web"

networks:
  web:

Thanks