From 9255dfc0f2563a39c4716f27587ea15a415d4836 Mon Sep 17 00:00:00 2001 From: WenRenHai Date: Sun, 6 Oct 2024 16:32:03 +0800 Subject: [PATCH] =?UTF-8?q?Fix:=20=E4=BF=AE=E5=A4=8D=E6=97=A0=E9=9C=80?= =?UTF-8?q?=E9=AA=8C=E8=AF=81=E4=B9=9F=E5=8F=AF=E6=9F=A5=E7=9C=8Bapi?= =?UTF-8?q?=E6=96=87=E6=A1=A3=20(#351)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Close #348 --- .env.example | 12 ++++++------ docker-compose.yml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.env.example b/.env.example index 660362f5..68c35812 100644 --- a/.env.example +++ b/.env.example @@ -2,24 +2,24 @@ APP_NAME=skeleton APP_ENV=dev DB_DRIVER=mysql -DB_HOST=localhost +DB_HOST=mysql DB_PORT=3306 DB_DATABASE=mine DB_USERNAME=root -DB_PASSWORD=root +DB_PASSWORD=123456 DB_CHARSET=utf8mb4 DB_COLLATION=utf8mb4_unicode_ci DB_PREFIX= -REDIS_HOST=localhost +REDIS_HOST=redis REDIS_AUTH= REDIS_PORT=6379 REDIS_DB=0 -AMQP_HOST=127.0.0.1 +AMQP_HOST=rabbitmq AMQP_PORT=5672 -AMQP_USER=guest -AMQP_PASSWORD=guest +AMQP_USER=mineadmin +AMQP_PASSWORD=123456 AMQP_VHOST=/ AMQP_ENABLE=false diff --git a/docker-compose.yml b/docker-compose.yml index c5ce20af..0dfaba01 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -38,7 +38,7 @@ services: mysql: environment: - "TZ=Asia/Shanghai" - - MYSQL_ROOT_PASSWORD=12345678 + - MYSQL_ROOT_PASSWORD=123456 - "explicit_defaults_for_timestamp=true" - "lower_case_table_names=1" volumes: