Update Website_Containers/lamp_stack/compose.yaml

This commit is contained in:
2026-04-12 01:34:50 +00:00
parent 78c260d0e3
commit 3f54606e10
+1 -1
View File
@@ -14,7 +14,7 @@ services:
image: mysql:9.3.0 #check the mysql version you need for your project
container_name: lamp-db
environment:
MYSQL_ROOT_PASSWORD: ${PASSWORD} #you can change the mysql root password here
MYSQL_ROOT_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