Update Website_Containers/lamp_stack/compose.yaml
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
services:
|
||||
web:
|
||||
image: php:8.4-apache #check the php version you need for your project
|
||||
container_name: lamp-web
|
||||
#ports:
|
||||
# - "8086:80" #this line maps your pc port to the container port
|
||||
depends_on:
|
||||
@@ -12,7 +11,6 @@ services:
|
||||
|
||||
db:
|
||||
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_DATABASE: lamp_db #you can change the database name here
|
||||
@@ -22,7 +20,6 @@ services:
|
||||
|
||||
phpmyadmin:
|
||||
image: phpmyadmin/phpmyadmin
|
||||
container_name: lamp-phpadmin
|
||||
#ports:
|
||||
# - "8087:80" #this line maps your pc port to the container port
|
||||
depends_on:
|
||||
@@ -30,7 +27,6 @@ services:
|
||||
environment:
|
||||
PMA_HOST: db
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
default:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user