From e6b812409e8d4db603f7cc9e5844ee59df144ad0 Mon Sep 17 00:00:00 2001 From: Tan Nguyen Date: Sat, 1 Jun 2024 18:12:56 +0700 Subject: [PATCH] fix: update docker --- .env.example | 20 ++++++++++---------- docker/Dockerfile | 2 ++ 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.env.example b/.env.example index 2c42d1f..109911a 100644 --- a/.env.example +++ b/.env.example @@ -16,16 +16,16 @@ SMTP_UNAME SMTP_PWORD ################### For docker ################### -APP_NAME +APP_NAME=nms -APP_PORT -SSL_PORT +APP_PORT=85 +SSL_PORT=445 -MYSQL_PORT -MYSQL_USER -MYSQL_ROOT_PASS -MYSQL_DB -MYSQL_PASS +MYSQL_PORT=13306 +MYSQL_ROOT_PASS=root +MYSQL_DB=new_mvc_shop_db +MYSQL_USER=root +MYSQL_PASS=root -PHPMYADMIN_PORT -PHPMYADMIN_UPLOAD_LIMIT +PHPMYADMIN_PORT=8183 +PHPMYADMIN_UPLOAD_LIMIT=1024M diff --git a/docker/Dockerfile b/docker/Dockerfile index 6422391..6b90c73 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -38,3 +38,5 @@ RUN chown -R www-data:www-data /var/www/html EXPOSE 80 EXPOSE 443 + +CMD ["apache2-foreground"]