|
|
|
|
|
by vanviegen
561 days ago
|
|
I asked ChatGPT 4o if there's anything that can be improved in your docker-compose file. Among other (seemingly sensible) suggestions, it offered: ## 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. |
|