Skip to content

Commit

Permalink
Fix: 修复无需验证也可查看api文档 (#351)
Browse files Browse the repository at this point in the history
Close #348
  • Loading branch information
People-Sea authored Oct 6, 2024
1 parent e52b959 commit 9255dfc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9255dfc

Please sign in to comment.