Browse Source

[Laravel/ripple] added the command for publishing configuration (#9324)

* [Laravel/ripple] Update some configurations to be compatible with the v0.6

* [Laravel/ripple] added the command for publishing configuration
cclilshy 10 months ago
parent
commit
072be3bbd9

+ 3 - 3
frameworks/PHP/laravel/benchmark_config.json

@@ -139,7 +139,7 @@
 			"notes": "",
 			"versus": "php"
 		},
-		"pripple": {
+		"ripple": {
 			"json_url": "/json",
 			"db_url": "/db",
 			"query_url": "/queries/",
@@ -154,11 +154,11 @@
 			"language": "PHP",
 			"flavor": "PHP8.3",
 			"orm": "Full",
-			"platform": "PRipple",
+			"platform": "Ripple",
 			"webserver": "PServer",
 			"os": "Linux",
 			"database_os": "Linux",
-			"display_name": "laravel-pripple",
+			"display_name": "laravel-ripple",
 			"notes": "",
 			"versus": "php"
 		}

+ 8 - 7
frameworks/PHP/laravel/laravel-pripple.dockerfile → frameworks/PHP/laravel/laravel-ripple.dockerfile

@@ -33,16 +33,17 @@ RUN mkdir -p bootstrap/cache \
             storage/framework/views \
             storage/framework/cache
 
-# Configure
 RUN echo "PRP_HTTP_LISTEN=http://0.0.0.0:8080" >> .env
-RUN echo "PRP_HTTP_COUNT=64" >> .env
+RUN echo "PRP_HTTP_WORKERS=64" >> .env
+RUN echo "PRP_HTTP_RELOAD=0" >> .env
+RUN echo "PRP_HTTP_SANDBOX=1" >> .env
 
+# Configure
 RUN composer install --quiet
+RUN composer require cloudtay/ripple-driver --quiet
+RUN php artisan vendor:publish --tag=ripple-config
 RUN php artisan optimize
 
-RUN composer require cclilshy/p-ripple-drive --quiet
-RUN composer update --quiet
-
+# Start
 EXPOSE 8080
-
-ENTRYPOINT ["php","artisan","p:server","start"]
+ENTRYPOINT ["php","artisan","ripple:server","start"]