warning: port exposure

This commit is contained in:
2025-04-12 13:01:39 +02:00
parent 5843454e24
commit 764393ceaa

View File

@@ -6,6 +6,8 @@ services:
environment:
MARIADB_ROOT_PASSWORD: super_strong_password_of_root
MARIADB_DATABASE: laravel_db
ports:
- "3306:3306" # Attention: faille de sécurité !
volumes:
- laravel_db_volume:/var/lib/mysql
@@ -17,6 +19,7 @@ services:
LARAVEL_DATABASE_USER: laravel_user
LARAVEL_DATABASE_PASSWORD: super_strong_password
LARAVEL_DATABASE_NAME: laravel_db
LARAVEL_DATABSE_HOST: mariadb
volumes:
- ./laravel:/app