fix mirror bug

This commit is contained in:
khanh97dev 2023-11-15 16:05:06 +07:00
parent 1cd05471e4
commit 97abd22a56
3 changed files with 6 additions and 6 deletions

View File

@ -9,7 +9,7 @@ php /var/www/html/bin/magento setup:install \
--db-user=$MYSQL_USER \
--db-password=$MYSQL_PASSWORD \
--admin-firstname=$ADMIN_FIRSTNAME \
--admin-lastname=$ADMIN_LISTNAME \
--admin-lastname=$ADMIN_LASTNAME \
--admin-email=$ADMIN_EMAIL \
--admin-user=admin \
--admin-password=$ADMIN_PASSWORD \

8
.env
View File

@ -1,6 +1,6 @@
# NETWORK
PORT=81
APP_URL=http://localhost:${PORT}
APP_PORT=81
APP_URL=http://localhost:${APP_PORT}
# MYSQL
MYSQL_USER=magento
@ -14,12 +14,12 @@ ELASTIC_PASSWORD=magento
# ADMIN
ADMIN_EMAIL=hkngokhong@gmail.com
ADMIN_FIRSTNAME=admin
ADMIN_LASTNAME=my
ADMIN_LASTNAME=magento
ADMIN_PASSWORD=admin123
# SYSTEM
TIMEZONE="Asia/Bangkok"
CURRENCY="$"
CURRENCY="USD"
# MAIL
MAIL_SERVER=smtp

View File

@ -6,7 +6,7 @@ services:
dockerfile: ./Dockerfile
container_name: magento2
ports:
- ${PORT}:80
- ${APP_PORT}:80
volumes:
- .:/var/www/html
- ./apache.conf:/etc/apache2/conf.d/site.conf