I removed a reference to config.php as you missed to remove secrets from the file - consider this information as publicly disclosed - I strongly recommend to change or start the installation from the beginning.
btw: you are welcome to post short code snippets like config to the forum - don’t forget to use </>
button for code blocks. pastebin is more for longer logs…
From the docker-compose I see you use traefik reverseproxy but your config.php doesn’t include overwrite*
settings. Please review reverse proxy docs.
Maybe this topic gives you a good starting point: Nextcloud docker-compose setup with notify_push (2024)