chore(docker): 去除xdebug依赖,优化.env 环境变量

This commit is contained in:
2025-12-16 09:41:03 +08:00
parent 157ea7f46d
commit 09c859750e
7 changed files with 44 additions and 77 deletions

View File

@@ -1,26 +1,24 @@
# 项目配置, 请根据实际情况修改
PROJECT_NAME=newshop
APP_DEBUG = true
APP_TRACE = true
# ThinkPHP 6.x 配置, 请根据实际情况修改
APP_ENV=development
[APP]
DEFAULT_TIMEZONE = Asia/Shanghai
# PHP/PHP-FPM 配置
PHP_VERSION=7.4
PHP_FPM_VERSION=7.4-fpm
PHP_FPM_PORT=9105
XDEBUG_POST=9108
[LANG]
default_lang = zh-cn
# 数据库配置
MYSQL_ROOT_HOST=%
MYSQL_DATABASE=shop_mallnew
MYSQL_USER=shop_mallnew
MYSQL_PASSWORD=shop_mallnew
MYSQL_PORT=3326
[DATABASE]
TYPE = mysql
HOSTNAME = db
DATABASE = shop_mallnew
USERNAME = shop_mallnew
PASSWORD = shop_mallnew
HOSTPORT = 3306
CHARSET = utf8mb4
DEBUG = true
# Redis 绑定端口及密码
REDIS_PASSWORD=luckyshop123!@#
REDIS_PORT=6499
# Nginx 暴漏端口
NGINX_PORT=8050
NGINX_SSL_PORT=8052
[REDIS]
HOST = redis
PORT = 6379
PASSWORD = 'luckyshop123!@#'
EXPIRY = 604800