Skip to content

Commit 501766f

Browse files
committed
Merge branch '8.x'
# Conflicts: # CHANGELOG.md
2 parents 858b094 + 0059fb9 commit 501766f

File tree

7 files changed

+123
-4
lines changed

7 files changed

+123
-4
lines changed

.env.example

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,15 @@ QUEUE_CONNECTION=sync
2020
SESSION_DRIVER=file
2121
SESSION_LIFETIME=120
2222

23+
MEMCACHED_HOST=127.0.0.1
24+
2325
REDIS_HOST=127.0.0.1
2426
REDIS_PASSWORD=null
2527
REDIS_PORT=6379
2628

2729
MAIL_MAILER=smtp
28-
MAIL_HOST=smtp.mailtrap.io
29-
MAIL_PORT=2525
30+
MAIL_HOST=mailhog
31+
MAIL_PORT=1025
3032
MAIL_USERNAME=null
3133
MAIL_PASSWORD=null
3234
MAIL_ENCRYPTION=null

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
.env
77
.env.backup
88
.phpunit.result.cache
9+
docker-compose.override.yml
910
Homestead.json
1011
Homestead.yaml
1112
npm-debug.log

CHANGELOG.md

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,46 @@
11
# Release Notes
22

3-
## [Unreleased](https://github.com/laravel/laravel/compare/v8.4.4...master)
3+
## [Unreleased](https://github.com/laravel/laravel/compare/v8.5.5...master)
4+
5+
6+
## [v8.5.5 (2020-12-12)](https://github.com/laravel/laravel/compare/v8.5.4...v8.5.5)
7+
8+
### Changed
9+
- Revert changes to env file ([3b2ed46](https://github.com/laravel/laravel/commit/3b2ed46e65c603ddc682753f1a9bb5472c4e12a8))
10+
11+
12+
## [v8.5.4 (2020-12-10)](https://github.com/laravel/laravel/compare/v8.5.3...v8.5.4)
13+
14+
### Changed
15+
- Gitignore `docker-compose.override.yml` ([#5487](https://github.com/laravel/laravel/pull/5487)
16+
- Update ENV vars to docker file ([ddb26fb](https://github.com/laravel/laravel/commit/ddb26fbc504cd64fb1b89511773aa8d03c758c6d))
17+
18+
19+
## [v8.5.3 (2020-12-10)](https://github.com/laravel/laravel/compare/v8.5.2...v8.5.3)
20+
21+
### Changed
22+
- Disable `TrustHosts` middleware ([b7cde8b](https://github.com/laravel/laravel/commit/b7cde8b495e183f386da63ff7792e0dea9cfcf56))
23+
24+
25+
## [v8.5.2 (2020-12-08)](https://github.com/laravel/laravel/compare/v8.5.1...v8.5.2)
26+
27+
### Added
28+
- Add Sail ([17668be](https://github.com/laravel/laravel/commit/17668beabe4cb489ad07abb8af0a9da01860601e))
29+
30+
31+
## [v8.5.1 (2020-12-08)](https://github.com/laravel/laravel/compare/v8.5.0...v8.5.1)
32+
33+
### Changed
34+
- Revert change to `QUEUE_CONNECTION` ([34368a4](https://github.com/laravel/laravel/commit/34368a4fab61839c106efb1eea087cc270639619))
35+
36+
37+
## [v8.5.0 (2020-12-08)](https://github.com/laravel/laravel/compare/v8.4.4...v8.5.0)
38+
39+
### Added
40+
- Add Sail file ([bcd87e8](https://github.com/laravel/laravel/commit/bcd87e80ac7fa6a5daf0e549059ad7cb0b41ce75))
41+
42+
### Changed
43+
- Update env file for Sail ([a895748](https://github.com/laravel/laravel/commit/a895748980b3e055ffcb68b6bc1c2e5fad6ecb08))
444

545

646
## [v8.4.4 (2020-12-01)](https://github.com/laravel/laravel/compare/v8.4.3...v8.4.4)

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ We would like to extend our thanks to the following sponsors for funding Laravel
4242
- **[Many](https://www.many.co.uk)**
4343
- **[Webdock, Fast VPS Hosting](https://www.webdock.io/en)**
4444
- **[DevSquad](https://devsquad.com)**
45+
- **[Curotec](https://www.curotec.com/)**
4546
- **[OP.GG](https://op.gg)**
4647

4748
## Contributing

app/Http/Kernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Kernel extends HttpKernel
1414
* @var array
1515
*/
1616
protected $middleware = [
17-
\App\Http\Middleware\TrustHosts::class,
17+
// \App\Http\Middleware\TrustHosts::class,
1818
\App\Http\Middleware\TrustProxies::class,
1919
\Fruitcake\Cors\HandleCors::class,
2020
\App\Http\Middleware\PreventRequestsDuringMaintenance::class,

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
},
1818
"require-dev": {
1919
"fakerphp/faker": "^1.9.1",
20+
"laravel/sail": "^0.0.5",
2021
"mockery/mockery": "^1.4.2",
2122
"nunomaduro/collision": "^5.0",
2223
"phpunit/phpunit": "^9.3.3"

docker-compose.yml

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# For more information: https://laravel.com/docs/sail
2+
version: '3'
3+
services:
4+
laravel.test:
5+
build:
6+
context: ./vendor/laravel/sail/runtimes/8.0
7+
dockerfile: Dockerfile
8+
args:
9+
WWWGROUP: '${WWWGROUP}'
10+
image: sail-8.0/app
11+
ports:
12+
- '${APP_PORT:-80}:80'
13+
environment:
14+
WWWUSER: '${WWWUSER}'
15+
LARAVEL_SAIL: 1
16+
volumes:
17+
- '.:/var/www/html'
18+
networks:
19+
- sail
20+
depends_on:
21+
- mysql
22+
- redis
23+
# - selenium
24+
# selenium:
25+
# image: 'selenium/standalone-chrome'
26+
# volumes:
27+
# - '/dev/shm:/dev/shm'
28+
# networks:
29+
# - sail
30+
# depends_on:
31+
# - laravel.test
32+
mysql:
33+
image: 'mysql:8.0'
34+
ports:
35+
- '${FORWARD_DB_PORT:-3306}:3306'
36+
environment:
37+
MYSQL_ROOT_PASSWORD: '${DB_PASSWORD}'
38+
MYSQL_DATABASE: '${DB_DATABASE}'
39+
MYSQL_USER: '${DB_USERNAME}'
40+
MYSQL_PASSWORD: '${DB_PASSWORD}'
41+
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
42+
volumes:
43+
- 'sailmysql:/var/lib/mysql'
44+
networks:
45+
- sail
46+
redis:
47+
image: 'redis:alpine'
48+
ports:
49+
- '${FORWARD_REDIS_PORT:-6379}:6379'
50+
volumes:
51+
- 'sailredis:/data'
52+
networks:
53+
- sail
54+
# memcached:
55+
# image: 'memcached:alpine'
56+
# ports:
57+
# - '11211:11211'
58+
# networks:
59+
# - sail
60+
mailhog:
61+
image: 'mailhog/mailhog:latest'
62+
ports:
63+
- 1025:1025
64+
- 8025:8025
65+
networks:
66+
- sail
67+
networks:
68+
sail:
69+
driver: bridge
70+
volumes:
71+
sailmysql:
72+
driver: local
73+
sailredis:
74+
driver: local

0 commit comments

Comments
 (0)