AlertManager does not start in docker properly

I just found it changing the alertmanager config file to:

global:

receivers:
  - name: default-receiver
  - name: alertsnitch
    webhook_configs:
      - url: http://host.docker.internal:9567/webhook

# We want to send all alerts to alertsnitch and then continue to the
# appropiate handler.
route:
  group_wait: 10s
  group_interval: 5m
  receiver: default-receiver
  repeat_interval: 3h
  
  routes:
    - receiver: alertsnitch
      continue: true