Customize system notifications/e-mail templates in a docker compose setup

Isn’t this the same issue?

services:
  zammad-scheduler:
    volumes:
      - ./custom/ticket_create/de.html.erb.custom:/opt/zammad/app/views/mailer/ticket_create/de.html.erb.custom:ro

  zammad-railsserver:
    volumes:
      - ./custom/ticket_create/de.html.erb.custom:/opt/zammad/app/views/mailer/ticket_create/de.html.erb.custom:ro

and then docker compose up -d ? But please fact check that, i don’t use docker myself