Skip to content

Commit 852157f

Browse files
committed
octane to php 8.2
1 parent 4cab40b commit 852157f

File tree

7 files changed

+25
-25
lines changed

7 files changed

+25
-25
lines changed

presets/laravel+octane/config.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ create:
1313
- name: 'Swoole'
1414
actions:
1515
- scripts:
16-
- docker pull -q kooldev/php:8.1-nginx
17-
- docker pull -q kooldev/php:8.1-nginx-swoole
18-
- kool docker kooldev/php:8.1-nginx-swoole composer create-project --no-install --no-scripts --prefer-dist laravel/laravel $CREATE_DIRECTORY
16+
- docker pull -q kooldev/php:8.2-nginx
17+
- docker pull -q kooldev/php:8.2-nginx-swoole
18+
- kool docker kooldev/php:8.2-nginx-swoole composer create-project --no-install --no-scripts --prefer-dist laravel/laravel $CREATE_DIRECTORY
1919
- name: 'RoadRunner'
2020
actions:
2121
- scripts:
22-
- docker pull -q kooldev/php:8.1-nginx
23-
- kool docker kooldev/php:8.1-nginx composer create-project --no-install --no-scripts --prefer-dist laravel/laravel $CREATE_DIRECTORY
22+
- docker pull -q kooldev/php:8.2-nginx
23+
- kool docker kooldev/php:8.2-nginx composer create-project --no-install --no-scripts --prefer-dist laravel/laravel $CREATE_DIRECTORY
2424

2525
# Preset defines the workflow for installing this preset in the current working directory
2626
preset:
@@ -40,12 +40,12 @@ preset:
4040
actions:
4141
- merge: scripts/laravel+octane+swoole.yml
4242
dst: kool.yml
43-
- recipe: php-8.1-swoole
43+
- recipe: php-8.2-swoole
4444
- name: 'RoadRunner'
4545
actions:
4646
- merge: scripts/laravel+octane+roadrunner.yml
4747
dst: kool.yml
48-
- recipe: php-8.1-roadrunner
48+
- recipe: php-8.2-roadrunner
4949

5050
- name: 'Customize Database, Cache and Node Package Manager'
5151
actions:

recipes/php-8.1-roadrunner.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

recipes/php-8.1-swoole.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

recipes/php-8.2-roadrunner.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
title: "PHP 8.2 + RoadRunner"
2+
3+
actions:
4+
- merge: app/php82-roadrunner.yml
5+
dst: docker-compose.yml
6+
- scripts:
7+
- kool docker kooldev/php:8.2-nginx composer require laravel/octane spiral/roadrunner spiral/roadrunner-http spiral/roadrunner-cli
8+
- kool docker kooldev/php:8.2-nginx php artisan octane:install --server=roadrunner --no-interaction

recipes/php-8.2-swoole.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
title: "PHP 8.2 + Swoole"
2+
3+
actions:
4+
- merge: app/php82-swoole.yml
5+
dst: docker-compose.yml
6+
- scripts:
7+
- kool docker kooldev/php:8.2-nginx-swoole composer require laravel/octane
8+
- kool docker kooldev/php:8.2-nginx-swoole php artisan octane:install --server=swoole
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
app:
3-
image: kooldev/php:8.1-nginx
3+
image: kooldev/php:8.2-nginx
44
command: php artisan octane:start --server=roadrunner --host=0.0.0.0 --rpc-port=6001 --port=80
55
ports:
66
- "${KOOL_APP_PORT:-80}:80"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
app:
3-
image: kooldev/php:8.1-nginx-swoole
3+
image: kooldev/php:8.2-nginx-swoole
44
command: php artisan octane:start --server=swoole --host=0.0.0.0 --port=80
55
ports:
66
- "${KOOL_APP_PORT:-80}:80"

0 commit comments

Comments
 (0)