Replies: 2 comments 1 reply
-
Hey @gwatai, |
Beta Was this translation helpful? Give feedback.
1 reply
-
I found this in an issue, and it worked for me: |
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
-
Happy New Year, I have been having this error every time I try bref local development, The issue is am getting a max memory use
which on the browser results to a "Failed to open stream: Permission denied" as shown in the screenshots below:
when calling my API through Postman I get a file permissions error:
Below is my docker-compose.yml:
`version: "3.5"
services:
app:
image: bref/php-81-fpm-dev:2
#host-container port mapping
ports: [ '8000:8000' ]
volumes:
#host-container
- .:/var/task:ro
- ./storage:/var/task/storage
environment:
HANDLER: public/index.php
# Assets will be served from this directory
DOCUMENT_ROOT: public
dockerfile:
#FROM --platform=arm64 bref/php-80-fpm:2FROM bref/php-81-fpm:2
COPY . /var/task
#Configure the handler file (the entrypoint that receives all HTTP requests)
CMD ["public/index.php"]
`
Any assistance will be greatly appreciated 🥷
Beta Was this translation helpful? Give feedback.
All reactions