Skip to content

Commit ff95b50

Browse files
committed
[Laravel/ripple] Update some configurations to be compatible with the v0.6
1 parent db30328 commit ff95b50

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

frameworks/PHP/laravel/benchmark_config.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
"notes": "",
140140
"versus": "php"
141141
},
142-
"pripple": {
142+
"ripple": {
143143
"json_url": "/json",
144144
"db_url": "/db",
145145
"query_url": "/queries/",
@@ -154,11 +154,11 @@
154154
"language": "PHP",
155155
"flavor": "PHP8.3",
156156
"orm": "Full",
157-
"platform": "PRipple",
157+
"platform": "Ripple",
158158
"webserver": "PServer",
159159
"os": "Linux",
160160
"database_os": "Linux",
161-
"display_name": "laravel-pripple",
161+
"display_name": "laravel-ripple",
162162
"notes": "",
163163
"versus": "php"
164164
}

frameworks/PHP/laravel/laravel-pripple.dockerfile renamed to frameworks/PHP/laravel/laravel-ripple.dockerfile

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,14 @@ RUN mkdir -p bootstrap/cache \
3434
storage/framework/cache
3535

3636
# Configure
37-
RUN echo "PRP_HTTP_LISTEN=http://0.0.0.0:8080" >> .env
38-
RUN echo "PRP_HTTP_COUNT=64" >> .env
39-
4037
RUN composer install --quiet
41-
RUN php artisan optimize
42-
4338
RUN composer require cclilshy/p-ripple-drive --quiet
44-
RUN composer update --quiet
4539

46-
EXPOSE 8080
40+
RUN echo "PRP_HTTP_LISTEN=http://0.0.0.0:8080" >> .env
41+
RUN echo "PRP_HTTP_WORKERS=64" >> .env
42+
RUN echo "PRP_HTTP_RELOAD=0" >> .env
43+
RUN echo "PRP_HTTP_SANDBOX=1" >> .env
4744

48-
ENTRYPOINT ["php","artisan","p:server","start"]
45+
# Start
46+
EXPOSE 8080
47+
ENTRYPOINT ["php","artisan","ripple:server","start"]

0 commit comments

Comments
 (0)