Skip to content

Commit 9255dfc

Browse files
authored
Fix: 修复无需验证也可查看api文档 (#351)
Close #348
1 parent e52b959 commit 9255dfc

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.env.example

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@ APP_NAME=skeleton
22
APP_ENV=dev
33

44
DB_DRIVER=mysql
5-
DB_HOST=localhost
5+
DB_HOST=mysql
66
DB_PORT=3306
77
DB_DATABASE=mine
88
DB_USERNAME=root
9-
DB_PASSWORD=root
9+
DB_PASSWORD=123456
1010
DB_CHARSET=utf8mb4
1111
DB_COLLATION=utf8mb4_unicode_ci
1212
DB_PREFIX=
1313

14-
REDIS_HOST=localhost
14+
REDIS_HOST=redis
1515
REDIS_AUTH=
1616
REDIS_PORT=6379
1717
REDIS_DB=0
1818

19-
AMQP_HOST=127.0.0.1
19+
AMQP_HOST=rabbitmq
2020
AMQP_PORT=5672
21-
AMQP_USER=guest
22-
AMQP_PASSWORD=guest
21+
AMQP_USER=mineadmin
22+
AMQP_PASSWORD=123456
2323
AMQP_VHOST=/
2424
AMQP_ENABLE=false
2525

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ services:
3838
mysql:
3939
environment:
4040
- "TZ=Asia/Shanghai"
41-
- MYSQL_ROOT_PASSWORD=12345678
41+
- MYSQL_ROOT_PASSWORD=123456
4242
- "explicit_defaults_for_timestamp=true"
4343
- "lower_case_table_names=1"
4444
volumes:

0 commit comments

Comments
 (0)