## Restrict Host Ports for Security
If app and mariadb are only communicating internally, you can remove 3306:3306 to avoid exposing the port to the host machine:
```yaml ports: - 3306:3306 # Remove this unless external access is required. ```
So, apparently, ChatGPT doesn't need any more convincing.