We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
APP_RUNTIME
1 parent 3f41435 commit 85d25d6Copy full SHA for 85d25d6
src/frankenphp-symfony/README.md
@@ -14,17 +14,15 @@ composer require runtime/frankenphp-symfony
14
15
Define the environment variable `APP_RUNTIME` for your application.
16
17
-```
18
-// .env
19
-APP_RUNTIME=Runtime\FrankenPhpSymfony\Runtime
20
+Dotenv Component is executed after Runtime Component, so APP_RUNTIME must be available in your container.
21
22
```
23
-// .rr.yaml
24
-server:
25
- ...
26
- env:
27
- APP_RUNTIME: Runtime\FrankenPhpSymfony\Runtime
+docker run \
+ -e FRANKENPHP_CONFIG="worker ./public/index.php" \
+ -e APP_RUNTIME=Runtime\\FrankenPhpSymfony\\Runtime \
+ -v $PWD:/app \
+ -p 80:80 -p 443:443 \
+ dunglas/frankenphp
28
29
30
```php
0 commit comments