Replies: 2 comments
-
What does your docker-compose.yml look like? Are you on Mac/WSL/Linux? You don't necessarily need a reverse proxy with FrankenPHP, you can just do something like this and then map the port 8000:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm on Mac and did something else. I changed index.php, because I see that native worker works only when has index.php name.
index.php
Now it works and I hope that this native worker will work at least as good as it would with Octane |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm struggling with how to set up docker-compose (or dockerfile) to work with Laravel Octane by default.
I'm using basic things from https://frankenphp.dev/docs/docker/.
I also changed Caddyfile to revert_proxy port 8000.
When I'm executing command inside container everything works great, but when I tried supervisor or ENTRYPOINT in Dockerfile it wasn't working. In both cases I know that the octane was running, but it's not working.
I also tried adding ENV FRANKENPHP_CONFIG with frankenphp-worker.php but it didn't change a bit. Booting application just as normal
Beta Was this translation helpful? Give feedback.
All reactions