diff --git a/Website_Containers/lamp_stack/compose.yaml b/Website_Containers/lamp_stack/compose.yaml index 9cbf6e2..49493ca 100644 --- a/Website_Containers/lamp_stack/compose.yaml +++ b/Website_Containers/lamp_stack/compose.yaml @@ -12,7 +12,7 @@ services: db: image: mysql:9.3.0 #check the mysql version you need for your project environment: - MYSQL_ROOT_PASSWORD: password #you can change the mysql root password here + MYSQL_ROOT_PASSWORD: ${PASSWORD} #you can change the mysql root password here MYSQL_DATABASE: lamp_db #you can change the database name here volumes: - /srv/docker/lamp-stack/mysql_data:/var/lib/mysql #this line maps the content of ./mysql_data in your pc to the /var/lib/mysql of the container