Deploy Statamic with Docker #4828
Unanswered
LexanRed
asked this question in
Troubleshooting
Replies: 2 comments 1 reply
-
Is anything written to the log file in |
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
-
Dear fellow developers,
I am trying to dockerize my Statamic application. We use a nginx reverse proxy with certbot to provide SSL certificates and routing.
The goal is, to simply build an image which hosts Statamic for production.
I tried a lot of different setups the last days, it kind of works. Serving content works. Uploading images for example, does not.
A 500 error is shown.
Does anyone have a working Dockerfile using PHP8 or could help me to find my issues?
Here is my Dockerfile
My nginx.conf
My additional server config:
Do I miss any dependencies or is the problem something else?
This error occurs, when uploading a picture:
I could not make it work to actually see the error, which is behind this nginx output.
If anyone has a hint on that too, would be great!
Thank you all a lot!
Beta Was this translation helpful? Give feedback.
All reactions