After upgrade, docker: local_discourse/app is not a valid mac address

Can you try changing that to:

expose:
  - "8009:80"   # http

Are you running an extra reverse proxy on the host? In that case you may prefer to list to a unix socket by adding a web.socketed.template.yml in the template list at the top.