warning: port exposure
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user